Changeset 2418 for trunk/dports
- Timestamp:
- Apr 7, 2003, 2:05:50 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/lang/perl5.8/Portfile
r2236 r2418 1 # $Id: Portfile,v 1.2 0 2003/03/12 03:03:46michaelm Exp $1 # $Id: Portfile,v 1.21 2003/04/07 14:05:50 michaelm Exp $ 2 2 3 3 PortSystem 1.0 4 4 name perl5.8 5 5 version 5.8.0 6 revision 26 revision 3 7 7 categories lang 8 8 maintainers michaelm@opendarwin.org … … 12 12 master_sites http://www.cpan.org/src/5.0/ 13 13 checksums md5 d9bdb180620306023fd35901a2878b62 14 global platform_dir 14 15 configure.cmd sh Configure 15 16 unset configure.pre_args 16 variant darwin { patchfiles patch-perlio-darwin.diff }17 17 configure.post_args -des -Dinstallprefix=${destroot}/${prefix} \ 18 18 -Dprefix='${prefix}' -Dccflags="-I'${prefix}/include'\ … … 22 22 23 23 24 # fix toset install* variables....24 # set install* variables.... 25 25 variant freebsd { 26 post-install { 27 cd ${destroot}/${prefix}/lib/perl5/${version}/freebsd 28 system "cat Config.pm |sed s#${destroot}/##g >Config.pm.new" 29 system "cat .packlist | sed s#${destroot}/##g >.packlist.new" 30 system "mv Config.pm.new Config.pm && \ 31 mv .packlist.new .packlist" 32 } 26 set platform_dir freebsd 33 27 } 34 #fix to set install* variables.... 35 variant darwin { 36 post-install { 37 cd ${destroot}/${prefix}/lib/perl5/${version}/darwin 38 system "cat Config.pm |sed s#${destroot}/##g >Config.pm.new" 39 system "cat .packlist | sed s#${destroot}/##g > .packlist.new" 40 system "mv Config.pm.new Config.pm && \ 41 mv .packlist.new .packlist" 42 } 43 } 28 variant darwin { 29 set platform_dir darwin 30 patchfiles patch-perlio-darwin.diff 31 } 44 32 33 # fix install variables 34 post-install { 35 cd ${destroot}/${prefix}/lib/perl5/${version}/${platform_dir} 36 system "cat Config.pm |sed s#${destroot}/##g >Config.pm.new" 37 system "cat .packlist | sed s#${destroot}/##g >.packlist.new" 38 system "mv Config.pm.new Config.pm && \ 39 mv .packlist.new .packlist" 40 }
Note: See TracChangeset
for help on using the changeset viewer.