# $Id: Portfile,v 1.7 2005/12/08 21:01:03 mww Exp $

PortSystem 1.0
name             advancecomp
version          1.15
categories       archivers
maintainers      toby@opendarwin.org
description      recompression utilities for .PNG, .MNG, .ZIP and .GZ files
long_description \
	AdvanceCOMP is a set of recompression utilities for \
	.PNG, .MNG, .ZIP and .GZ files. The main features are: \
	Recompress ZIP, GZ, PNG and MNG files using the Deflate \
	7-Zip implementation, and recompress MNG files using Delta \
	and Move optimization.
homepage         http://advancemame.sourceforge.net/comp-readme.html
platforms        darwin
master_sites     sourceforge:advancemame
checksums        md5 bb236d8bee6fa473d34108cda1e09076
patchfiles       patch-compress.cc
depends_lib      port:zlib port:bzip2
configure.args   --mandir=${prefix}/share/man --enable-bzip2
configure.env    CFLAGS=-I${prefix}/include CPPFLAGS=-I${prefix}/include \
                 LDFLAGS=-L${prefix}/lib

platform darwin 8 {
    configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
}

