diff options
Diffstat (limited to 'graphics/pngquant/Makefile')
-rw-r--r-- | graphics/pngquant/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/graphics/pngquant/Makefile b/graphics/pngquant/Makefile index f95b80c1f929..c82256b9e60c 100644 --- a/graphics/pngquant/Makefile +++ b/graphics/pngquant/Makefile @@ -7,6 +7,7 @@ PORTNAME= pngquant PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://www.libpng.org/pub/png/src/ \ ftp://ftp.libpng.org/pub/png/src/ \ @@ -16,17 +17,20 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= png:${PORTSDIR}/graphics/png +LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png -MAKEFILE= Makefile.unx WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +MAKEFILE= Makefile.unx +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="-lpng -lz -lm -L${LOCALBASE}/lib" + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pngquant ${PREFIX}/bin .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif .include <bsd.port.mk> |