aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-10-17 07:48:42 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-10-17 07:48:42 +0800
commitdd2e1adf7b3c54d3f9240d2a6d64bf6302e34ff4 (patch)
treec7b61217719a8f79e20dbd800f07bd6a9dfefdc1 /graphics
parent8acb566a95bff6b55d7954bbc2ccd73cbc909660 (diff)
downloadfreebsd-ports-gnome-dd2e1adf7b3c54d3f9240d2a6d64bf6302e34ff4.tar.gz
freebsd-ports-gnome-dd2e1adf7b3c54d3f9240d2a6d64bf6302e34ff4.tar.zst
freebsd-ports-gnome-dd2e1adf7b3c54d3f9240d2a6d64bf6302e34ff4.zip
- Support staging
- Use new LIB_DEPENDS syntax
Diffstat (limited to 'graphics')
-rw-r--r--graphics/lprof-devel/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/graphics/lprof-devel/Makefile b/graphics/lprof-devel/Makefile
index 2587c5cb4068..52d5393697b7 100644
--- a/graphics/lprof-devel/Makefile
+++ b/graphics/lprof-devel/Makefile
@@ -12,10 +12,10 @@ PKGNAMESUFFIX= -devel
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Open source color profiler
-LIB_DEPENDS= lcms:${PORTSDIR}/graphics/lcms \
- jpeg:${PORTSDIR}/graphics/jpeg \
- tiff:${PORTSDIR}/graphics/tiff \
- vigraimpex:${PORTSDIR}/graphics/vigra
+LIB_DEPENDS= liblcms.so:${PORTSDIR}/graphics/lcms \
+ libjpeg.so:${PORTSDIR}/graphics/jpeg \
+ libtiff.so:${PORTSDIR}/graphics/tiff \
+ libvigraimpex.so:${PORTSDIR}/graphics/vigra
USE_BZIP2= yes
USE_XORG= x11 xext sm ice xxf86vm
@@ -27,13 +27,12 @@ CMAKE_ARGS= -DQTTRANS_LRELEASE_EXECUTABLE="${LOCALBASE}/bin/lrelease-qt4"
WRKSRC= ${WRKDIR}/${PORTNAME}
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e '/asm\/types.h/ d' ${WRKSRC}/src/argyll/spectro/hidio.c
@${REINPLACE_CMD} -e '/DESTINATION/ s|data/|share/${PORTNAME}/data/|' \
${WRKSRC}/data/CMakeLists.txt ${WRKSRC}/src/CMakeLists.txt
post-install:
- ${INSTALL_DATA} ${WRKSRC}/data/icons/lprof.png ${PREFIX}/share/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/data/icons/lprof.png ${STAGEDIR}${PREFIX}/share/pixmaps
.include <bsd.port.mk>