[43286] trunk/dports/lang/perl5/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Sun Dec 7 23:02:47 PST 2008


Revision: 43286
          http://trac.macports.org/changeset/43286
Author:   mcalhoun at macports.org
Date:     2008-12-07 23:02:47 -0800 (Sun, 07 Dec 2008)
Log Message:
-----------
perl5: Stop perl5 from conflicting with perl5.8 until the transition in #16830 is further along.

Modified Paths:
--------------
    trunk/dports/lang/perl5/Portfile

Modified: trunk/dports/lang/perl5/Portfile
===================================================================
--- trunk/dports/lang/perl5/Portfile	2008-12-08 06:51:31 UTC (rev 43285)
+++ trunk/dports/lang/perl5/Portfile	2008-12-08 07:02:47 UTC (rev 43286)
@@ -4,84 +4,103 @@
 
 name            perl5
 version         5.8.8
+revision        1
 categories      lang
 platforms       darwin freebsd linux
 maintainers     mcalhoun
-description     Perl 5 - Practical Extraction and Report Language (maintenance release)
+#description     Perl 5 - Practical Extraction and Report Language (maintenance release)
 
-long_description \
-    Perl is a general-purpose programming language originally developed \
-    for text manipulation and now used for a wide range of tasks including \
-    system administration, web development, network programming, GUI \
-    development, and more.
+#long_description \
+#    Perl is a general-purpose programming language originally developed \
+#    for text manipulation and now used for a wide range of tasks including \
+#    system administration, web development, network programming, GUI \
+#    development, and more.
 
-distname        perl-${version}
-use_bzip2       yes
+#distname        perl-${version}
+#use_bzip2       yes
 homepage        http://www.perl.org/
-master_sites    http://www.cpan.org/src/
+#master_sites    http://www.cpan.org/src/
 
-checksums       md5 a377c0c67ab43fd96eeec29ce19e8382 \
-                sha1 4aab490040727ca4419098720eca2ba4367df539 \
-                rmd160 e78f26d9b96e6db35f946ad4ff55e3a69385c71b
+#checksums       md5 a377c0c67ab43fd96eeec29ce19e8382 \
+#                sha1 4aab490040727ca4419098720eca2ba4367df539 \
+#                rmd160 e78f26d9b96e6db35f946ad4ff55e3a69385c71b
 
 # See http://trac.macports.org/changeset/34508
-patchfiles      patch-makedepend.diff
+#patchfiles      patch-makedepend.diff
 
-platform darwin {
-    post-patch {
-        # See http://trac.macports.org/changeset/10638
-	reinplace "s| socket bind inet | socket inet |g" ${worksrcpath}/Configure
+#platform darwin {
+#    post-patch {
+#        # See http://trac.macports.org/changeset/10638
+#	reinplace "s| socket bind inet | socket inet |g" ${worksrcpath}/Configure
+#
+#	reinplace "s|ld=\"MACOSX_DEPLOYMENT_TARGET=10.3|ld=\"env MACOSX_DEPLOYMENT_TARGET=10.3|g" ${worksrcpath}/hints/darwin.sh
+#    }
+#}
 
-	reinplace "s|ld=\"MACOSX_DEPLOYMENT_TARGET=10.3|ld=\"env MACOSX_DEPLOYMENT_TARGET=10.3|g" ${worksrcpath}/hints/darwin.sh
-    }
-}
+#post-patch {
+#    reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/Configure
+#    reinplace "s|ld='cc';||" ${worksrcpath}/hints/darwin.sh
+#}
 
-post-patch {
-    reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/Configure
-    reinplace "s|ld='cc';||" ${worksrcpath}/hints/darwin.sh
+#configure.env       LC_ALL=C
+#configure.cmd       /bin/sh Configure
+#configure.pre_args
+#configure.post_args -des \
+#		    -D prefix='${prefix}' \
+#		    -D ccflags=\${CCFLAGS} \
+#                    -D ldflags=\${LDFLAGS} \
+#                    -D vendorprefix='${prefix}' \
+#                    -D man3ext='3pm' \
+#                    -D cc=\${CC} \
+#		    -D ld=\${CC}
+
+#######################################################
+fetch {}
+checksum {}
+extract {}
+use_configure       no
+build {}
+description Placeholder port. See http://trac.macports.org/ticket/16830
+long_description ${description}
+destroot {
+    xinstall -d ${destroot}${prefix}/share/doc/${name}
+    system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
 }
+archive {}
+livecheck.check     none
+master_sites
+depends_lib port:perl5.8
+#######################################################
 
-configure.env       LC_ALL=C
-configure.cmd       /bin/sh Configure
-configure.pre_args
-configure.post_args -des \
-		    -D prefix='${prefix}' \
-		    -D ccflags=\${CCFLAGS} \
-                    -D ldflags=\${LDFLAGS} \
-                    -D vendorprefix='${prefix}' \
-                    -D man3ext='3pm' \
-                    -D cc=\${CC} \
-		    -D ld=\${CC}
-
 universal_variant   no
 
-test.run            yes
+#test.run            yes
 
-post-destroot {
-    ln -s ${prefix}/bin/perl${version} ${destroot}${prefix}/bin/$name
-}
+#post-destroot {
+#    ln -s ${prefix}/bin/perl${version} ${destroot}${prefix}/bin/$name
+#}
 
-variant threads description {Build with thread support} {
-    configure.args-append   -Dusethreads
-}
+#variant threads description {Build with thread support} {
+#    configure.args-append   -Dusethreads
+#}
 
-variant shared description {Build shared perl library} {
-    configure.args-append   -Duseshrplib
-}
+#variant shared description {Build shared perl library} {
+#    configure.args-append   -Duseshrplib
+#}
 
-platform darwin 9 {
-    post-patch {
-        if {[variant_isset shared]} {
-            reinplace \
-	    "s|\$(CC) \$(CLDFLAGS) \$(NAMESPACEFLAGS) -o miniperl |\$(CC) \$(CLDFLAGS) -o miniperl |g" \
-	    ${worksrcpath}/Makefile.SH
-            reinplace \
-	    "s|miniperlmain\$(OBJ_EXT) opmini\$(OBJ_EXT) \$(LLIBPERL) \$(libs)|miniperlmain\$(OBJ_EXT) opmini\$(OBJ_EXT) perl\$(OBJ_EXT) \$(filter-out op\$(OBJ_EXT),\$(obj)) \$(libs)|g" \
-	    ${worksrcpath}/Makefile.SH
-        }
-    }
-}
+#platform darwin 9 {
+#    post-patch {
+#        if {[variant_isset shared]} {
+#            reinplace \
+#	    "s|\$(CC) \$(CLDFLAGS) \$(NAMESPACEFLAGS) -o miniperl |\$(CC) \$(CLDFLAGS) -o miniperl |g" \
+#	    ${worksrcpath}/Makefile.SH
+#            reinplace \
+#	    "s|miniperlmain\$(OBJ_EXT) opmini\$(OBJ_EXT) \$(LLIBPERL) \$(libs)|miniperlmain\$(OBJ_EXT) opmini\$(OBJ_EXT) perl\$(OBJ_EXT) \$(filter-out op\$(OBJ_EXT),\$(obj)) \$(libs)|g" \
+#	    ${worksrcpath}/Makefile.SH
+#        }
+#    }
+#}
 
-livecheck.check regex
-livecheck.url   ${master_sites}
-livecheck.regex latest_maint_is_(5\\.\\d+(?:\\.\\d+)*)
+#livecheck.check regex
+#livecheck.url   ${master_sites}
+#livecheck.regex latest_maint_is_(5\\.\\d+(?:\\.\\d+)*)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081207/af5a4ea9/attachment-0001.html>


More information about the macports-changes mailing list