Ticket #37823: Portfile.diff
File Portfile.diff, 2.3 KB (added by cooljeanius (Eric Gallager), 10 years ago) |
---|
-
Portfile
old new 5 5 6 6 name cpan2port 7 7 version 0.1.0 8 categories sysutils macports 8 categories sysutils macports perl 9 9 platforms darwin 10 10 maintainers gwmail.gwu.edu:egall openmaintainer 11 11 license WTFPL-2 permissive 12 12 supported_archs noarch 13 13 14 14 description A perl script to generate MacPorts portfiles 15 long_description ${description} from CPAN modules 16 homepage http://svn.macports.org/repository/macports/contrib/ cpan2port15 long_description ${description} from CPAN modules. 16 homepage http://svn.macports.org/repository/macports/contrib/${name} 17 17 18 18 livecheck.type none 19 19 20 20 fetch.type svn 21 svn.url https://svn.macports.org/repository/macports/contrib/cpan2port 22 svn.revision 101883 23 24 depends_lib-append port:p5.12-module-depends \ 25 port:p5.12-list-moreutils \ 26 port:p5.12-module-corelist \ 27 port:p5.12-yaml \ 28 port:p5.12-file-path \ 29 port:p5.12-pod-simple \ 30 port:p5.12-carp-clan \ 31 port:p5.12-getopt-simple 21 svn.url https://svn.macports.org/repository/macports/contrib/${name} 22 svn.revision 120996 23 revision ${svn.revision} 24 25 depends_lib-append port:p5.16-module-depends \ 26 port:p5.16-list-moreutils \ 27 port:p5.16-module-corelist \ 28 port:p5.16-yaml \ 29 port:p5.16-file-path \ 30 port:p5.16-pod-simple \ 31 port:p5.16-carp-clan \ 32 port:p5.16-getopt-simple \ 33 port:p5.16-parse-cpan-meta \ 34 port:p5.16-cpan-meta-yaml 32 35 33 36 worksrcdir ${name} 34 37 35 configure.perl ${prefix}/bin/perl5.1 238 configure.perl ${prefix}/bin/perl5.16 36 39 37 40 configure { 38 41 reinplace "s|#! /usr/bin/env perl|#!${configure.perl}|g" ${worksrcpath}/${name} 39 42 } 40 43 41 build {} 44 # should be implied by overriding configure: 45 configure.ccache no 46 47 build { 48 ui_debug "${name} has no build step." 49 } 42 50 43 51 destroot { 44 52 xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/${name}