[44876] trunk/dports/lang/perl5
mcalhoun at macports.org
mcalhoun at macports.org
Sun Jan 4 01:36:32 PST 2009
Revision: 44876
http://trac.macports.org/changeset/44876
Author: mcalhoun at macports.org
Date: 2009-01-04 01:36:31 -0800 (Sun, 04 Jan 2009)
Log Message:
-----------
perl5: Continue to mimic perl5.8 for the time being (r44874).
Modified Paths:
--------------
trunk/dports/lang/perl5/Portfile
Removed Paths:
-------------
trunk/dports/lang/perl5/files/
Modified: trunk/dports/lang/perl5/Portfile
===================================================================
--- trunk/dports/lang/perl5/Portfile 2009-01-04 09:16:36 UTC (rev 44875)
+++ trunk/dports/lang/perl5/Portfile 2009-01-04 09:36:31 UTC (rev 44876)
@@ -1,3 +1,4 @@
+# -*- 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
@@ -3,6 +4,5 @@
name perl5
-version 5.8.8
-revision 2
+version 5.8.9
categories lang
platforms darwin freebsd linux
@@ -21,67 +21,45 @@
homepage http://www.perl.org/
#master_sites http://www.cpan.org/src/
-#checksums md5 a377c0c67ab43fd96eeec29ce19e8382 \
-# sha1 4aab490040727ca4419098720eca2ba4367df539 \
-# rmd160 e78f26d9b96e6db35f946ad4ff55e3a69385c71b
+#checksums \
+# md5 1cb52a76ce77fa300218da96577793ec \
+# sha1 19843b5a7585cf35d96c07dbcd419bbdd5813617 \
+# rmd160 680004238d626ec985075e1b4519b7f0b34f57e5
-# See http://trac.macports.org/changeset/34508
-#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
-#
-# 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
+# # Ensure that the ld value set in configure.args is used
# 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}
+#configure.args \
+# -des \
+# -D prefix='${prefix}' \
+# -D cppflags="\${CPPFLAGS}" \
+# -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
+#set exclude_libs {bind gdbm db}
-post-destroot {
- ln -s perl${version} ${destroot}${prefix}/bin/$name
-}
-#######################################################
+#post-patch {
+# foreach lib ${exclude_libs} {
+# configure.args-append -U i_${lib}
+# reinplace "s|\\(libswanted=.*\\)${lib} *\\(.*\\)|\\1\\2|" ${worksrcpath}/Configure
+# }
+#}
universal_variant no
#test.run yes
#post-destroot {
-# ln -s ${prefix}/bin/perl${version} ${destroot}${prefix}/bin/$name
+# ln -s perl${version} ${destroot}${prefix}/bin/$name
#}
#variant threads description {Build with thread support} {
@@ -92,19 +70,44 @@
# configure.args-append -Duseshrplib
#}
-#platform darwin 9 {
+#variant gdbm description {Build with gdbm support} {
+# depends_lib-append port:gdbm
+# set exclude_libs [ldelete ${exclude_libs} gdbm]
+#}
+
+#variant db description {Build with Berkeley Data Base support} {
+# depends_lib-append port:db47
+# set exclude_libs [ldelete ${exclude_libs} db]
+
# 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
-# }
+# reinplace "s|${prefix}/include|${prefix}/include ${prefix}/include/db47|g" ${worksrcpath}/Configure
+# reinplace "s|${prefix}/lib|${prefix}/lib ${prefix}/lib/db47|g" ${worksrcpath}/Configure
# }
#}
#livecheck.check regex
-#livecheck.url ${master_sites}
-#livecheck.regex latest_maint_is_(5\\.\\d+(?:\\.\\d+)*)
+#livecheck.url http://www.cpan.org/src
+#livecheck.regex {perl-(5\.8\.\d)\.}
+
+
+#######################################################
+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
+
+post-destroot {
+ ln -s perl${version} ${destroot}${prefix}/bin/$name
+}
+#######################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090104/d9c5c864/attachment.html>
More information about the macports-changes
mailing list