Ticket #12682: webdec-doc-universal.diff
File webdec-doc-universal.diff, 1.4 KB (added by nox@…, 17 years ago) |
---|
-
Portfile
1 1 # $Id$ 2 2 3 PortSystem 1.0 3 PortSystem 1.0 4 4 5 name webdec 5 6 version 0.46.2 7 revision 1 6 8 categories archivers 7 9 maintainers izmir@verizon.net 8 10 description Extract webshots pictures … … 15 17 16 18 master_sites http://www.jamesbarford.net/downloads/ 17 19 18 checksums md5 14341604153c4605ecf81162b09c67fa 19 20 use_configure no 20 checksums md5 14341604153c4605ecf81162b09c67fa \ 21 sha1 6f0d90f09627f023f71ddd30ca67edf3e62f673e \ 22 rmd160 e49877e5e9598326b319f882a877af691156f03f 23 24 configure { 25 reinplace -E "/^CFLAGS/s|\$| [join ${configure.cflags} " "]|" ${worksrcpath}/Makefile 26 reinplace -E "/^LDFLAGS/s|\$| [join ${configure.ldflags} " "]|" ${worksrcpath}/Makefile 27 } 21 28 22 destroot {} 29 destroot { 30 xinstall ${worksrcpath}/webdec ${destroot}${prefix}/bin 23 31 24 post-destroot { 25 xinstall -m 755 -W ${worksrcpath} webdec \ 26 ${destroot}${prefix}/bin/webdec 32 set docdir ${prefix}/share/doc/${name}-${version} 33 xinstall -d ${destroot}${docdir} 34 xinstall -m 0644 -W ${worksrcpath} GPL README ${destroot}${docdir} 27 35 } 28 36 29 variant debug { 30 build.pre_args CFLAGS="-Wall -ansi -pedantic -DDEBUG" 37 variant debug { 38 post-configure { 39 reinplace -E "/^CFLAGS/s|\$| -DDEBUG|" ${worksrcpath}/Makefile 40 } 31 41 } 32 42 33 universal_variant no34