1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Enable staging

- Use new LIB_DEPENDS format
This commit is contained in:
Ganael LAPLANCHE 2013-11-21 13:24:27 +00:00
parent 04337a8e7d
commit 44fb911609
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334486

View File

@ -12,8 +12,8 @@ COMMENT= Converts TIFF-sampled images to PNM image
LICENSE= GPLv2
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
tiff:${PORTSDIR}/graphics/tiff
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \
libtiff.so:${PORTSDIR}/graphics/tiff
PROJECTHOST= sam2p
USES= pkgconfig
@ -27,7 +27,6 @@ PLIST_FILES= bin/png22pnm bin/tif22pnm
TIF22PNM_SRCS= ptspnm.c minigimp.c miniglib.c ptstiff3.c tif22pnm.c
PNG2PNM_SRCS= png22pnm.c
NO_STAGE= yes
do-build:
cd ${WRKSRC} \
&& ${CC} ${CFLAGS} -DNDEBUG -I${LOCALBASE}/include \
@ -36,7 +35,7 @@ do-build:
${PNG2PNM_SRCS} -o png22pnm `pkg-config libpng15 --libs`
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/png22pnm ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/tif22pnm ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/png22pnm ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/tif22pnm ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>