from these ports. Other changes: - convert Makefile header - convert to optionsNG - remove indefinite article from comment - drop support for FreeBSD < 8.0 - pet portlint (leave library ABI versions in LIB_DEPENDS) - net-mgmt/spectools: change option name from GTK to GTK2 to use default description from bsd.options.desc.mk Approved by: portmgr (bapt)
38 lines
1.1 KiB
Makefile
38 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/ \
|
|
${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.11:${PORTSDIR}/graphics/jpeg \
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
|
vigraimpex.4:${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
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
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 ${PREFIX}/share/pixmaps
|
|
|
|
.include <bsd.port.mk>
|