diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2015-10-19 20:20:21 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2015-10-19 20:20:21 +0000 |
commit | 3c716e2cda24eafdb59ec400f372c3051509fc0f (patch) | |
tree | 331415ead8efc692d2fd8c602102e3ab5088283b /graphics/pngrewrite | |
parent | 8c31a55b4a610a3f3fff25c4dce4ae63f9281c30 (diff) | |
download | ports-3c716e2cda24eafdb59ec400f372c3051509fc0f.tar.gz ports-3c716e2cda24eafdb59ec400f372c3051509fc0f.zip |
- Use USES=localbase
Notes
Notes:
svn path=/head/; revision=399755
Diffstat (limited to 'graphics/pngrewrite')
-rw-r--r-- | graphics/pngrewrite/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/pngrewrite/Makefile b/graphics/pngrewrite/Makefile index a187675029a9..de2598da110d 100644 --- a/graphics/pngrewrite/Makefile +++ b/graphics/pngrewrite/Makefile @@ -15,16 +15,14 @@ LICENSE= ZLIB LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -lm -lpng -lz -USES= zip +USES= localbase zip NO_WRKSUBDIR= yes PLIST_FILES= bin/pngrewrite do-build: - ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/pngrewrite ${WRKSRC}/libpngrewrite.c ${WRKSRC}/pngrewrite.c + ${CC} ${CFLAGS} ${LDFLAGS} -lm -lpng -lz -o ${WRKSRC}/pngrewrite ${WRKSRC}/libpngrewrite.c ${WRKSRC}/pngrewrite.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pngrewrite ${STAGEDIR}${PREFIX}/bin/ |