diff options
author | Beech Rintoul <beech@FreeBSD.org> | 2011-04-20 20:02:25 +0000 |
---|---|---|
committer | Beech Rintoul <beech@FreeBSD.org> | 2011-04-20 20:02:25 +0000 |
commit | 9a0fa027e82e8697a0ed608fb226444ba8cd1d46 (patch) | |
tree | de4c2b126c3385df1527bd599de05c331608278b /graphics/pngnq/Makefile | |
parent | fe009b21b277d49dd45ae0ac6791f3051acf74fa (diff) | |
download | ports-9a0fa027e82e8697a0ed608fb226444ba8cd1d46.tar.gz ports-9a0fa027e82e8697a0ed608fb226444ba8cd1d46.zip |
Notes
Diffstat (limited to 'graphics/pngnq/Makefile')
-rw-r--r-- | graphics/pngnq/Makefile | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/graphics/pngnq/Makefile b/graphics/pngnq/Makefile index 540380192b96..3df4d968c543 100644 --- a/graphics/pngnq/Makefile +++ b/graphics/pngnq/Makefile @@ -6,40 +6,30 @@ # PORTNAME= pngnq -PORTVERSION= 0.5 -PORTREVISION= 2 +PORTVERSION= 1.0 CATEGORIES= graphics MASTER_SITES= SF -DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= stb@lassitu.de COMMENT= A tool for quantizing PNG images in RGBA format LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png -WRKSRC= ${WRKDIR}/${PORTVERSION} +GNU_CONFIGURE= yes -USE_GMAKE= yes -MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include -DVERSION='\"${PORTVERSION}\"'" \ - LDFLAGS="-lpng -lz -lm -L${LOCALBASE}/lib" +CPPFLAGS+= -I${LOCALBASE}/include +CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" LIBS=-lpng -PORTDOCS= README LICENSE README.pngcomp +PORTDOCS= README COPYING PLIST_FILES= bin/pngcomp bin/pngnq -.if !defined(NO_INSTALL_MANPAGES) MAN1= pngnq.1 -.endif -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/pngcomp ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/pngnq ${PREFIX}/bin +post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor .endif -.if !defined(NO_INSTALL_MANPAGES) - ${INSTALL_MAN} ${WRKSRC}/pngnq.1 ${MAN1PREFIX}/man/man1 -.endif .include <bsd.port.mk> |