mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-10 02:45:11 +00:00
4745bf8510
Approved by: portmgr (erwin)
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
# New ports collection makefile for: lprof
|
|
# Date created: 09 Jan 2008
|
|
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= lprof
|
|
PORTVERSION= 20080514
|
|
PORTREVISION= 5
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/ \
|
|
${MASTER_SITE_LOCAL:S|%SUBDIR%|amdmi3|}
|
|
PKGNAMESUFFIX= -devel
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Open source color profiler
|
|
|
|
LIB_DEPENDS= lcms.1:${PORTSDIR}/graphics/lcms \
|
|
jpeg.10:${PORTSDIR}/graphics/jpeg \
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
|
vigraimpex.2:${PORTSDIR}/graphics/vigra
|
|
|
|
USE_BZIP2= yes
|
|
USE_XORG= x11 xext sm ice xxf86vm
|
|
USE_QT_VER= 4
|
|
QT_COMPONENTS= corelib gui qt3support assistantclient linguist_build qmake_build moc_build uic_build rcc_build
|
|
USE_CMAKE= yes
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
CMAKE_ARGS= -DQTTRANS_LRELEASE_EXECUTABLE="${LOCALBASE}/bin/lrelease-qt4"
|
|
CMAKE_USE_PTHREAD= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 800069
|
|
LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
|
|
.endif
|
|
|
|
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
|
|
|
|
.include <bsd.port.post.mk>
|