Ticket #40514: metar.diff
File metar.diff, 1.0 KB (added by kurthindenburg (Kurt Hindenburg), 10 years ago) |
---|
-
Portfile
old new 2 2 # $Id: Portfile 111504 2013-09-24 04:34:48Z ryandesign@macports.org $ 3 3 4 4 PortSystem 1.0 5 PortGroup perl5 1.0 5 6 6 7 name metar 7 8 version 0.2 9 revision 1 8 10 categories science 9 11 platforms darwin linux 10 12 maintainers gmail.com:fernando.iazeolla … … 22 24 sha1 4e8401f89a3db0434505633d9244e324b953daea \ 23 25 rmd160 28644bc6b2507352236b2e2cf8e0975724678b77 24 26 27 depends_lib-append port:p${perl5.default_branch}-libwww-perl 25 28 worksrcdir ${name} 26 29 27 30 use_configure no … … 30 33 31 34 destroot.destdir DEST_DIR=${destroot}${prefix}/bin 32 35 36 pre-destroot { 37 reinplace "s|#!/usr/bin/perl|#!${prefix}/bin/perl${perl5.default_branch}|g" ${worksrcpath}/${name}.pl 38 } 39 33 40 post-destroot { 34 41 set docdir ${prefix}/share/doc/${subport} 35 42 xinstall -d ${destroot}${docdir}