1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/graphics/lprof-devel/Makefile
Dmitry Marakasov d6da712d25 - Support staging
- Use new LIB_DEPENDS syntax
2013-10-16 23:48:42 +00:00

39 lines
1.1 KiB
Makefile

# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
PORTNAME= lprof
PORTVERSION= 20080514
PORTREVISION= 10
CATEGORIES= graphics
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/ \
LOCAL/amdmi3
PKGNAMESUFFIX= -devel
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Open source color profiler
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
USE_QT4= corelib gui qt3support assistantclient \
linguist_build qmake_build moc_build uic_build rcc_build
USES= cmake
CMAKE_ARGS= -DQTTRANS_LRELEASE_EXECUTABLE="${LOCALBASE}/bin/lrelease-qt4"
WRKSRC= ${WRKDIR}/${PORTNAME}
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 ${STAGEDIR}${PREFIX}/share/pixmaps
.include <bsd.port.mk>