aboutsummaryrefslogtreecommitdiff
path: root/graphics/lprof-devel/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-06-05 12:39:13 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-06-05 12:39:13 +0000
commitbb51537e7839b543246d4e600d46eeb832d7c3ef (patch)
tree04d8513bf09e3906423d0a1a7f5c5afc61b9e491 /graphics/lprof-devel/Makefile
parent4b5a571da8484ad16b60d608546169aa502840ee (diff)
downloadports-bb51537e7839b543246d4e600d46eeb832d7c3ef.tar.gz
ports-bb51537e7839b543246d4e600d46eeb832d7c3ef.zip
Notes
Diffstat (limited to 'graphics/lprof-devel/Makefile')
-rw-r--r--graphics/lprof-devel/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/graphics/lprof-devel/Makefile b/graphics/lprof-devel/Makefile
new file mode 100644
index 000000000000..cbfa6414661d
--- /dev/null
+++ b/graphics/lprof-devel/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: lprof
+# Date created: 09 Jan 2008
+# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= lprof
+PORTVERSION= 20080514
+CATEGORIES= graphics
+MASTER_SITES= http://www.amdmi3.ru/distfiles/
+PKGNAMESUFFIX= -devel
+
+MAINTAINER= amdmi3@amdmi3.ru
+COMMENT= Open source color profiler
+
+LIB_DEPENDS= lcms.1:${PORTSDIR}/graphics/lcms \
+ jpeg.9:${PORTSDIR}/graphics/jpeg \
+ tiff.4:${PORTSDIR}/graphics/tiff \
+ vigraimpex.2:${PORTSDIR}/graphics/vigra \
+ usb-0.1.8:${PORTSDIR}/devel/libusb
+
+USE_BZIP2= yes
+USE_XORG= x11 xext sm ice xxf86vm
+USE_QT_VER= 4
+QT_COMPONENTS= corelib gui qt3support assistantclient moc uic rcc qmake linguist
+USE_CMAKE= yes
+
+CMAKE_ARGS= -DQTTRANS_LRELEASE_EXECUTABLE="${LOCALBASE}/bin/lrelease-qt4"
+CMAKE_USE_PTHREAD= yes
+
+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 ${PREFIX}/share/pixmaps
+
+.include <bsd.port.mk>