1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/graphics/lprof-devel/Makefile
Tobias C. Berner b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00

43 lines
1.2 KiB
Makefile

# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
PORTNAME= lprof
PORTVERSION= 20080514
PORTREVISION= 13
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:graphics/lcms \
libtiff.so:graphics/tiff \
libvigraimpex.so:graphics/vigra
USES= cmake desktop-file-utils jpeg qt:4 tar:bzip2
USE_XORG= x11 xext sm ice xxf86vm
USE_QT= corelib gui qt3support svg assistantclient \
linguisttools_build qmake_build moc_build uic_build rcc_build
WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS
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
# Patch in the correct prefix of the Qt binaries into the sources.
@${REINPLACE_CMD} -e 's|%%QT_ARCHDIR%%|${QT_ARCHDIR}|g' \
${WRKSRC}/src/lprofqt/config.cpp
post-install:
${INSTALL_DATA} ${WRKSRC}/data/icons/lprof.png ${STAGEDIR}${PREFIX}/share/pixmaps
.include <bsd.port.mk>