[135460] trunk/dports/perl
devans at macports.org
devans at macports.org
Thu Apr 23 15:23:03 PDT 2015
Revision: 135460
https://trac.macports.org/changeset/135460
Author: devans at macports.org
Date: 2015-04-23 15:23:03 -0700 (Thu, 23 Apr 2015)
Log Message:
-----------
p5-sdl_perl: obsolete, replaced by p5-sdl version 2.544.
Modified Paths:
--------------
trunk/dports/perl/p5-sdl_perl/Portfile
Added Paths:
-----------
trunk/dports/perl/p5-sdl/
trunk/dports/perl/p5-sdl/Portfile
Added: trunk/dports/perl/p5-sdl/Portfile
===================================================================
--- trunk/dports/perl/p5-sdl/Portfile (rev 0)
+++ trunk/dports/perl/p5-sdl/Portfile 2015-04-23 22:23:03 UTC (rev 135460)
@@ -0,0 +1,38 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup perl5 1.0
+
+perl5.branches 5.16 5.18 5.20
+perl5.setup SDL 2.544
+license LGPL-2
+maintainers nomaintainer
+categories-append devel
+description Simple DirectMedia Layer for Perl
+long_description ${description}
+homepage http://sdl.perl.org/
+platforms darwin
+
+checksums rmd160 d4dd21edf50fbfba3e7675363b0785e911808e48 \
+ sha256 3878d7171c7fb34b5d35f9ef3883e532fb44188c666f7492ce2bf14f5acad096
+
+if {${perl5.major} != ""} {
+ depends_build-append \
+ port:p${perl5.major}-test-most
+
+ depends_lib-append \
+ port:p${perl5.major}-alien-sdl \
+ port:p${perl5.major}-tie-simple \
+ port:p${perl5.major}-yaml
+
+ post-patch {
+ reinplace "s|gcc|${configure.cc} [get_canonical_archflags]|g" \
+ MacOSX/Makefile.test \
+ inc/My/Builder/Darwin.pm \
+ inc/My/Builder/Unix.pm \
+ scripts/sdl_const.pl
+ }
+
+ perl5.use_module_build
+}
Property changes on: trunk/dports/perl/p5-sdl/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Modified: trunk/dports/perl/p5-sdl_perl/Portfile
===================================================================
--- trunk/dports/perl/p5-sdl_perl/Portfile 2015-04-23 22:06:25 UTC (rev 135459)
+++ trunk/dports/perl/p5-sdl_perl/Portfile 2015-04-23 22:23:03 UTC (rev 135460)
@@ -6,37 +6,15 @@
perl5.branches 5.16 5.18 5.20
perl5.setup SDL_Perl 2.2.6 ../by-authors/id/K/KT/KTHAKORE
-license LGPL-2
-maintainers nomaintainer
-categories-append devel
-description Perl bindings for the Simple DirectMedia Layer
-long_description ${description}
-homepage http://sdl.perl.org/
-platforms darwin
-distname ${perl5.module}-v${version}
+revision 1
+license none
-checksums rmd160 1a6d779c05d97c691e9a3673e83ca650142a0d0a \
- sha256 a3fbf0213855629fefab9fa3431053ad646e175e9daa8e9796be1d84a5c32061
+depends_lib
if {${perl5.major} != ""} {
- depends_lib-append \
- port:p${perl5.major}-yaml \
- port:libsdl \
- port:libsdl_gfx \
- port:libsdl_image \
- port:libsdl_mixer \
- port:libsdl_net \
- port:libsdl_ttf
-
- patchfiles patch-Build.PL.diff \
- patch-make-lib-SDL-Build-Darwin.pm.diff \
- patch-src-SDL.xs.diff
-
- post-patch {
- reinplace "s|@ARCHFLAGS@|[get_canonical_archflags]|g" ${worksrcpath}/Build.PL
- }
-
- perl5.use_module_build
+ replaced_by p${perl5.major}-sdl
+} else {
+ replaced_by p5-sdl
}
-livecheck.version v${version}
+PortGroup obsolete 1.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150423/f89125ef/attachment.html>
More information about the macports-changes
mailing list