Ticket #32520: upx-3.08.diff
File upx-3.08.diff, 1.6 KB (added by ryandesign (Ryan Carsten Schmidt), 13 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 5 5 name upx 6 version 3.0 76 version 3.08 7 7 categories archivers 8 8 maintainers gmail.com:cedric.luthi 9 license GPL-2+ 10 9 11 description compress or expand executable files 10 12 long_description UPX is a free, portable, extendable, high-performance \ 11 13 executable packer for several different executable formats 12 14 homepage http://upx.sourceforge.net/ 13 15 platforms darwin 14 master_sites ${homepage} /download/16 master_sites ${homepage}download/ 15 17 16 18 distname ${name}-${version}-src 17 19 use_bzip2 yes 18 20 checksums [suffix ${distname}] \ 19 md5 8186ab103288242f7e8ecad1acd4af03 \ 20 sha1 53692fa1662c4d6be0110e8b7976ab2f9cc6701e \ 21 rmd160 b0b0c01ddf3d958c5c3405106e70c7cd37f148bb 21 rmd160 3fd7b3c4c66a90ddd622b5fb0ba0502c7145da62 \ 22 sha256 c6d873925ef0d5422b9320c7075ef9be5981a6f99418469ce067becd68de65eb 22 23 23 universal_variant no24 24 use_configure no 25 build.env CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"26 25 26 variant universal {} 27 28 build.env CPPFLAGS="${configure.cppflags}" \ 29 CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \ 30 LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" 31 27 32 depends_lib port:ucl port:zlib 28 33 29 34 # pod2man, pod2text, and pod2html are used to generate documentation