1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Use USES=localbase

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-10-19 20:20:21 +00:00
parent 8c31a55b4a
commit 3c716e2cda
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399755

View File

@ -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/