aboutsummaryrefslogtreecommitdiff
path: root/graphics/pngrewrite
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-10-19 20:20:21 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-10-19 20:20:21 +0000
commit3c716e2cda24eafdb59ec400f372c3051509fc0f (patch)
tree331415ead8efc692d2fd8c602102e3ab5088283b /graphics/pngrewrite
parent8c31a55b4a610a3f3fff25c4dce4ae63f9281c30 (diff)
downloadports-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/Makefile6
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/