pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/p5-Alien-SDL



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Sep 26 10:40:26 UTC 2017

Added Files:
        pkgsrc/devel/p5-Alien-SDL: DESCR Makefile distinfo
        pkgsrc/devel/p5-Alien-SDL/patches: patch-Build_PL

Log Message:
devel/p5-Alien-SDL: import p5-Alien-SDL-1.446

Packaged for wip by mef@ and myself.

`Alien::SDL' can be used to detect and get configuration settings
from an installed SDL and related libraries.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/p5-Alien-SDL/DESCR \
    pkgsrc/devel/p5-Alien-SDL/Makefile pkgsrc/devel/p5-Alien-SDL/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/p5-Alien-SDL/patches/patch-Build_PL

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/p5-Alien-SDL/DESCR
diff -u /dev/null pkgsrc/devel/p5-Alien-SDL/DESCR:1.1
--- /dev/null   Tue Sep 26 10:40:26 2017
+++ pkgsrc/devel/p5-Alien-SDL/DESCR     Tue Sep 26 10:40:26 2017
@@ -0,0 +1,2 @@
+`Alien::SDL' can be used to detect and get configuration settings
+from an installed SDL and related libraries.
Index: pkgsrc/devel/p5-Alien-SDL/Makefile
diff -u /dev/null pkgsrc/devel/p5-Alien-SDL/Makefile:1.1
--- /dev/null   Tue Sep 26 10:40:26 2017
+++ pkgsrc/devel/p5-Alien-SDL/Makefile  Tue Sep 26 10:40:26 2017
@@ -0,0 +1,53 @@
+# $NetBSD: Makefile,v 1.1 2017/09/26 10:40:26 wiz Exp $
+
+DISTNAME=      Alien-SDL-1.446
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Alien/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/~froggs/Alien-SDL/lib/Alien/SDL.pm
+COMMENT=       Alien::SDL - building, finding and using SDL binaries
+LICENSE=       ${PERL5_LICENSE}
+
+DEPENDS+=      p5-Archive-Zip-[0-9]*:../../archivers/p5-Archive-Zip
+DEPENDS+=      p5-Archive-Extract-[0-9]*:../../archivers/p5-Archive-Extract
+
+DEPENDS+=      p5-File-ShareDir-[0-9]*:../../devel/p5-File-ShareDir
+DEPENDS+=      p5-Module-Build>=0.36:../../devel/p5-Module-Build
+DEPENDS+=      p5-File-Which-[0-9]*:../../devel/p5-File-Which
+DEPENDS+=      p5-Capture-Tiny-[0-9]*:../../devel/p5-Capture-Tiny
+
+DEPENDS+=      p5-Text-Patch>=1.4:../../textproc/p5-Text-Patch
+DEPENDS+=      p5-Digest-SHA-[0-9]*:../../security/p5-Digest-SHA
+DEPENDS+=      p5-Tie-Simple-[0-9]*:../../devel/p5-Tie-Simple
+
+# To set this configure log "checking SDL_INST_DIR env var... yes, /usr/pkg"
+MAKE_ENV+=     SDL_INST_DIR=${PREFIX}
+USE_LANGUAGES=         c
+
+SUBST_CLASSES+=                path
+SUBST_MESSAGE.path=    Adjust path (see console output at configure stage)
+SUBST_FILES.path=      inc/My/Utility.pm
+SUBST_STAGE.path=      pre-configure
+SUBST_SED.path=                -e 's|/usr/local/|${PREFIX}/|g'
+SUBST_SED.path+=       -e 's|/usr/include/|${PREFIX}/include/|g'
+SUBST_SED.path+=       -e 's|/usr/X11R7/|${X11BASE}/|g'
+
+PERL5_MODULE_TYPE=     Module::Build
+PERL5_PACKLIST=                auto/Alien/SDL/.packlist
+PERL5_PACKLIST_DIR=    ${PERL5_INSTALLVENDORARCH:S/vendor_perl/site_perl/}
+
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../audio/SDL_mixer/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../devel/SDL_gfx/buildlink3.mk"
+.include "../../devel/SDL_Pango/buildlink3.mk"
+.include "../../devel/SDL_ttf/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/SDL_image/buildlink3.mk"
+.include "../../multimedia/libogg/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/p5-Alien-SDL/distinfo
diff -u /dev/null pkgsrc/devel/p5-Alien-SDL/distinfo:1.1
--- /dev/null   Tue Sep 26 10:40:26 2017
+++ pkgsrc/devel/p5-Alien-SDL/distinfo  Tue Sep 26 10:40:26 2017
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/09/26 10:40:26 wiz Exp $
+
+SHA1 (Alien-SDL-1.446.tar.gz) = 7272acef859f73e0351686502af02e5c7c2f6c32
+RMD160 (Alien-SDL-1.446.tar.gz) = bfd9eaf167fd84232465a6fa7f07b332b4c57da1
+SHA512 (Alien-SDL-1.446.tar.gz) = dfb5f104f449857b9567ca93a0c3b15aed2618e27019569c95c4b7469e1f7d5cc390fe2dda9c6add41e9648c1f6efe053d08a4bd0fcc5bc546a217721bea824c
+Size (Alien-SDL-1.446.tar.gz) = 350448 bytes
+SHA1 (patch-Build_PL) = 626da15f7f3d113974c65cf68b46e7ecb456dc5e

Index: pkgsrc/devel/p5-Alien-SDL/patches/patch-Build_PL
diff -u /dev/null pkgsrc/devel/p5-Alien-SDL/patches/patch-Build_PL:1.1
--- /dev/null   Tue Sep 26 10:40:26 2017
+++ pkgsrc/devel/p5-Alien-SDL/patches/patch-Build_PL    Tue Sep 26 10:40:26 2017
@@ -0,0 +1,23 @@
+$NetBSD: patch-Build_PL,v 1.1 2017/09/26 10:40:26 wiz Exp $
+
+To force not to build from source. Take [1] from following.
+
+You have the following options:
+[1] Already installed SDL ver=1.2.15 path=/usr/pkg
+    SDL(v1.2.15) SDL_image(v1.2.12) SDL_mixer(v1.2.12) SDL_ttf(v2.0.11) SDL_gfx(v2.0.24) SDL_Pango(v1.3) 
+[2] Already installed SDL ver=1.2.15 path=/usr/pkg
+    SDL(v1.2.15) SDL_image(v1.2.12) SDL_mixer(v1.2.12) SDL_ttf(v2.0.11) SDL_gfx(v2.0.24) SDL_Pango(v1.3) 
+[3] Source code build
+    SDL(v1.2.15) SDL_image(v1.2.11) SDL_mixer(v1.2.12) SDL_ttf(v2.0.11) SDL_gfx(v2.0.25) SDL_Pango(v1.2) 
+[4] Quit installation
+
+--- Build.PL.orig      2014-05-14 15:48:03.000000000 +0900
++++ Build.PL   2015-02-12 13:32:17.000000000 +0900
+@@ -229,6 +229,7 @@ else {
+ 
+   if($ans > 0 && $ans < scalar(@candidates)) {
+     $choice = $candidates[$ans - 1];
++    $choice = $candidates[0];
+   }
+ 
+   $| = 0;



Home | Main Index | Thread Index | Old Index