summaryrefslogtreecommitdiff
path: root/graphics/tif22pnm/Makefile
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2013-11-21 13:24:27 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2013-11-21 13:24:27 +0000
commit44fb911609275fe8d1704b1a4b4d081206ec776c (patch)
tree05dd702ffb9e7cbfb9db4d677b4b587e3b387ec1 /graphics/tif22pnm/Makefile
parent- Enable staging (diff)
- Enable staging
- Use new LIB_DEPENDS format
Diffstat (limited to '')
-rw-r--r--graphics/tif22pnm/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/graphics/tif22pnm/Makefile b/graphics/tif22pnm/Makefile
index d862be1ee95b..c832e2da041b 100644
--- a/graphics/tif22pnm/Makefile
+++ b/graphics/tif22pnm/Makefile
@@ -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>