[21055] trunk

source_changes at macosforge.org source_changes at macosforge.org
Thu Dec 28 10:31:34 PST 2006


Revision: 21055
          http://trac.macosforge.org/projects/macports/changeset/21055
Author:   dluke at macports.org
Date:     2006-12-28 10:31:33 -0800 (Thu, 28 Dec 2006)

Log Message:
-----------
New port (copy of File::Temp that overwrites the File::Temp that perl installs), this is needed for svk 2 and probably nothing else ever.

We can get rid of this port if/when we change perl's search order to be more sane.

Added Paths:
-----------
    trunk/dports/perl/p5-file-temp-svkonly/
    trunk/dports/perl/p5-file-temp-svkonly/Portfile

Property Changed:
----------------
    trunk/


Property changes on: trunk
___________________________________________________________________
Name: svk:merge
   - 023a8b07-a327-4f20-9012-67c915bb7b7c:/local/branches/updates:20971
023a8b07-a327-4f20-9012-67c915bb7b7c:/local/trunk:20972
a2b01108-8822-4c85-91cd-1541804339d8:/local/macports:20632
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/libdnet-maintainer:20898
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-app-cli:20923
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-list-moreutils:20919
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-path-class:20929
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/updates:20946
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/trunk:20947
f2dd1c64-7982-4318-98ce-263798263e0a:/local:21138
   + 023a8b07-a327-4f20-9012-67c915bb7b7c:/local/branches/updates:20971
023a8b07-a327-4f20-9012-67c915bb7b7c:/local/trunk:20972
a2b01108-8822-4c85-91cd-1541804339d8:/local/macports:20632
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/libdnet-maintainer:20898
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-app-cli:20923
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-list-moreutils:20919
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-path-class:20929
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/updates:20946
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/trunk:20947
f2dd1c64-7982-4318-98ce-263798263e0a:/local:21140

Added: trunk/dports/perl/p5-file-temp-svkonly/Portfile
===================================================================
--- trunk/dports/perl/p5-file-temp-svkonly/Portfile	                        (rev 0)
+++ trunk/dports/perl/p5-file-temp-svkonly/Portfile	2006-12-28 18:31:33 UTC (rev 21055)
@@ -0,0 +1,39 @@
+# $Id: /local/dports/perl/p5-file-temp-svkonly/Portfile 20414 2006-11-02T20:17:00.028444Z dluke  $
+
+PortSystem 1.0
+name			p5-file-temp-svkonly
+version			0.17
+categories		perl
+maintainers		dluke at geeklair.net
+description		p5-file-temp port that overrides the perl-provided module
+long_description	This p5-file-temp port exists only for svk support. It installs \
+				over the perl distributed version of File::Temp so that svk \
+				will use it instead of the older perl provided version.
+
+platforms		darwin
+
+master_sites		http://cpan.perl.org/authors/id/T/TJ/TJENNESS/
+homepage		http://search.cpan.org/~tjenness/
+distname		File-Temp-${version}
+dist_subdir		perl5
+depends_lib		path:${prefix}/bin/perl:perl5.8
+
+checksums               md5 9c096b38cf45e579ce5b0f53bcb090b2
+
+#- Perl searches vendor location last, so this won't
+#- override the older version included with perl
+#- if we install in the vendor location
+configure.cmd       ${prefix}/bin/perl
+configure.pre_args  Makefile.PL
+test.run            yes
+destroot.target     pure_install
+
+
+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"
+}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061228/02be9bf0/attachment.html


More information about the macports-changes mailing list