Ticket #11946: gsed-4.1.5_1.diff
File gsed-4.1.5_1.diff, 2.3 KB (added by n.oxyde@…, 18 years ago) |
---|
-
textproc/gsed/Portfile
old new 3 3 PortSystem 1.0 4 4 name gsed 5 5 version 4.1.5 6 revision 1 6 7 distname sed-${version} 7 8 categories textproc 8 9 maintainers marius@physics.aamu.edu 9 10 platforms darwin 10 11 master_sites gnu:sed 11 12 homepage http://www.gnu.org/software/sed/ 12 checksums md5 7a1cbbbb3341287308e140bd4834c3ba 13 checksums md5 7a1cbbbb3341287308e140bd4834c3ba \ 14 sha1 8e575e8a44568392d5b6e089eab5da5cdbd45885 \ 15 rmd160 49b12e99a55c6d2e78ad236f0205e63e46444173 13 16 14 17 description GNU version of the stream editor, sed 15 18 long_description \ … … 25 28 configure.args --infodir=${prefix}/share/info \ 26 29 --mandir=${prefix}/share/man \ 27 30 --program-prefix=gnu \ 28 --datadir=${prefix}/share/doc/${name} 29 depends_lib port:gettext port:libiconv 31 --disable-nls 32 33 set docdir ${prefix}/share/doc/sed-${version} 30 34 31 35 post-destroot { 32 36 cd ${destroot}${prefix}/share/info/ 33 37 foreach i [glob *.info*] { 34 38 file rename ${i} gnu${i} 35 39 } 36 if {[variant_isset with_default_names]} { 40 41 xinstall -m 0755 -d ${destroot}${docdir} 42 xinstall -m 0644 -W ${worksrcpath} AUTHORS BUGS COPYING ChangeLog NEWS README THANKS \ 43 ${destroot}${docdir} 44 } 45 46 test.run yes 47 test.target check 48 49 variant nls { 50 configure.args-delete --disable-nls 51 52 depends_lib-append port:gettext \ 53 port:libiconv 54 55 pre-build { 56 reinplace "s:install_sh:INSTALL:" ${worksrcpath}/po/Makefile 57 } 58 59 post-destroot { 60 xinstall -m 0644 -W ${worksrcpath} ABOUT-NLS ${destroot}${docdir} 61 } 62 } 63 64 variant with_default_names { 65 post-destroot { 37 66 foreach d {bin share/info share/man/man1} { 38 67 cd ${destroot}${prefix}/$d 39 68 foreach a [glob gnu*] { … … 44 73 } 45 74 } 46 75 47 test.run yes 48 test.target check 49 50 variant with_default_names {} 76 livecheck.check regex 77 livecheck.url http://ftp.gnu.org/gnu/sed/?M=D 78 livecheck.regex sed-(\\d+\\.\\d+\\.\\d+)