Changeset 97931
- Timestamp:
- Sep 20, 2012, 10:19:08 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/graphics/optipng/Portfile
r97188 r97931 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 … … 4 5 5 6 name optipng 6 version 0.7. 27 version 0.7.3 7 8 categories graphics 8 9 license zlib … … 22 23 master_sites sourceforge:project/${name}/OptiPNG/${name}-${version} 23 24 24 checksums rmd160 7b578c8339cae5d5f5d687965aa33022c6dc5910\25 sha256 5bfd5cfd4880e325011e5b09ff915fe64ce791c5aa8103068831dd8e52d521a125 checksums rmd160 2329a8cc310e191adaf9c944ca92b9890e93b505 \ 26 sha256 e07079fbf4cd7f11e756ca042f5285dd7a1f1784bb398fe6bbb63e5324368491 26 27 27 # Doesn't depend on libpng or zlib since it uses its own, modified versions 28 29 # Make sure gmake 3.81+ is used, as scripts/gcc.mak needs POSIX 30 # backslash-newline sequence compatibility. 31 depends_build port:gmake 28 # Doesn't depend on libpng or zlib since it uses its own, modified versions. 29 # Clear cppflags and ldflags to ensure an already-installed libpng is not used. 30 configure.cppflags 31 configure.ldflags 32 32 33 33 configure.args-append --mandir=${prefix}/share/man 34 34 35 # Workaround for problem with MacPorts 1.8.0, which adds the36 # --disable-dependency-tracking configure option with the37 # universal variant, even though this option is not standard:38 # http://www.gnu.org/prep/standards/standards.html#Configuration39 35 configure.universal_args-delete --disable-dependency-tracking 40 36 41 37 variant universal {} 42 38 43 build.args-append CC="${configure.cc} ${configure.cflags} [get_canonical_archflags]" \ 44 LDFLAGS=${configure.ldflags} 39 build.args-append CC="${configure.cc} ${configure.cflags} [get_canonical_archflags cc]" 45 40 46 build.cmd ${prefix}/bin/gmake 41 platform darwin 8 { 42 # Make sure gmake 3.81+ is used, as scripts/gcc.mak needs POSIX 43 # backslash-newline sequence compatibility. 44 depends_build-append port:gmake 45 build.cmd ${prefix}/bin/gmake 46 } 47 47 48 48 # The default SourceForge livecheck rule doesn't work with OptiPNG.
Note: See TracChangeset
for help on using the changeset viewer.