Ticket #16106: unalz.diff
File unalz.diff, 1.6 KB (added by blb@…, 16 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 5 5 name unalz 6 version 0.6 16 version 0.65 7 7 categories archivers 8 8 platforms darwin 9 maintainers minskim@bawi.org9 maintainers bawi.org:minskim 10 10 description unarchiver for the AlZip format 11 11 12 12 long_description Unalz is a BSD-licensed unarchiver for AlZip format which \ … … 19 19 20 20 depends_lib port:libiconv 21 21 22 checksums md5 f3ee5bad439f10e06b089b8db38b7566\23 sha1 a6cab2a02b7f44957211e694b7d8d144840b2255\24 rmd160 68cb957aeacfc8452e01637f7e0a50939d515ab6 22 checksums md5 e4db2c4e3c8f6f5ee414b68bc55288e5 \ 23 sha1 98a64f799892f7adfffd4635bd19826fe8f18b26 \ 24 rmd160 bb55aee26e12c8bf0e4422b11feffa5c88844771 25 25 26 26 worksrcdir unalz 27 27 … … 29 29 reinplace "s|/usr/local|\$(DESTDIR)${prefix}|" ${worksrcpath}/Makefile 30 30 } 31 31 32 configure { 33 set CFLAGS [join ${configure.cflags} " "] 34 reinplace -E "/^CFLAGS/s|\$|${CFLAGS}\\\nCPPFLAGS=${CFLAGS}|" ${worksrcpath}/Makefile 35 reinplace -E "/^LDFLAGS/s|\$|[join ${configure.ldflags} " "]|" ${worksrcpath}/Makefile 36 } 32 use_configure no 37 33 34 # Note: CPP in the Makefile is the C++ compiler, not preprocessor 35 build.args-append CFLAGS="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 [join ${configure.cflags} " "] [join ${configure.cppflags} " "]" \ 36 LDFLAGS="[join ${configure.ldflags} " "]" \ 37 CPP="${configure.cxx}" \ 38 CXX="${configure.cxx}" \ 39 CC="${configure.cc}" 38 40 build.target posix-utf8 39 41 40 42 post-destroot {