mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Support staging
- Use new LIB_DEPENDS syntax
This commit is contained in:
parent
dc70c24d93
commit
d6da712d25
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330567
1 changed files with 5 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue