[29874] trunk/dports/perl/p5-pathtools/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sun Oct 14 04:55:56 PDT 2007


Revision: 29874
          http://trac.macosforge.org/projects/macports/changeset/29874
Author:   nox at macports.org
Date:     2007-10-14 04:55:56 -0700 (Sun, 14 Oct 2007)

Log Message:
-----------
p5-pathtools:
 * Now changes perl5.lib directory instead of playing around with a lot of variables to install in privlib.
 * Fixed homepage.
 * Fixed livecheck.
 * Now uses the third perl5.setup argument to set master_sites.
 * Added openmaintainer and obfuscated maintainer adress on dluke request.
 * Added sha1 and rmd160 checksums.

Modified Paths:
--------------
    trunk/dports/perl/p5-pathtools/Portfile

Modified: trunk/dports/perl/p5-pathtools/Portfile
===================================================================
--- trunk/dports/perl/p5-pathtools/Portfile	2007-10-14 11:48:43 UTC (rev 29873)
+++ trunk/dports/perl/p5-pathtools/Portfile	2007-10-14 11:55:56 UTC (rev 29874)
@@ -1,34 +1,30 @@
 # $Id$
+
 PortSystem		1.0
+PortGroup       perl5 1.0
 
-name			p5-pathtools
-version			3.25
-categories		perl
-maintainers		dluke at geeklair.net
+perl5.setup     PathTools 3.25 ../../authors/id/K/KW/KWILLIAMS/
+platforms       darwin
+maintainers		geeklair.net:dluke openmaintainer
 description		PathTools contains path building and modification classes.
+
 long_description	$description
 
-checksums		md5 242b8a6355927625f57048f6c59577ca
-platforms		darwin
-master_sites		http://cpan.perl.org/authors/id/K/KW/KWILLIAMS/
-homepage		http://search.cpan.org/dist/pathtools/
-distname		PathTools-${version}
-dist_subdir		perl5
-depends_lib		path:${prefix}/bin/perl:perl5.8
+homepage        http://search.cpan.org/dist/${perl5.module}/
+#master_sites    http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/
 
-#- Perl searches vendor location last, so this won't
-#- override the older version included with perl
-#- if we install it in the vendor location
-configure.cmd		${prefix}/bin/perl
-configure.pre_args	Makefile.PL
-test.run		yes
-destroot.target		pure_install
+checksums       md5 242b8a6355927625f57048f6c59577ca \
+                sha1 cbaf1a5aab6f7d50adbd00046010ae7e51e033ba \
+                rmd160 d14b9bb83b361a91a22560141b4b2753cf5804d0
 
+# Perl searches vendor location last, so this won't
+# override the older version included with perl
+# if we install it in the vendor location
+set perl5.lib   ${prefix}/lib/perl5/${perl5.version}
+
+configure.args  
+
 post-destroot {
-		set perl5.version [lindex [split [exec ${prefix}/bin/perl -V:version] {'}] 1]
-                foreach packlist [exec find ${destroot}${prefix}/lib/perl5/${perl5.version} -name .packlist] {
-                        ui_info "Fixing packlist ${packlist}"
-                        reinplace "s|${destroot}||" ${packlist}
-                }
-		ui_msg "You must install or activate this package with '-f' (force) as it needs to overwrite files installed by the perl5.8 port"
-        }
+    ui_msg "You must install or activate this package with '-f' (force) as it needs to overwrite files installed by the perl5.8 port"
+}
+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071014/115810f1/attachment.html


More information about the macports-changes mailing list