1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/graphics/luminance/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

60 lines
1.5 KiB
Makefile

# New ports collection makefile for: qtpfsgui
# Date created: 28 Jul 2007
# Whom: Yinghong.Liu <relaxbsd@gmail.com>
#
# $FreeBSD$
#
PORTNAME= qtpfsgui
PORTVERSION= 1.9.1
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= A graphical user interface that provides a workflow for HDR imaging
LIB_DEPENDS= exiv2.3:${PORTSDIR}/graphics/exiv2 \
fftw3f.4:${PORTSDIR}/math/fftw3-float \
IlmImf.6:${PORTSDIR}/graphics/OpenEXR \
tiff.4:${PORTSDIR}/graphics/tiff \
jpeg.9:${PORTSDIR}/graphics/jpeg
BUILD_DEPENDS= qmake-qt4:${PORTSDIR}/devel/qmake4 \
uic-qt4:${PORTSDIR}/devel/qt4-uic \
rcc:${PORTSDIR}/devel/qt4-rcc \
moc-qt4:${PORTSDIR}/devel/qt4-moc \
lrelease-qt4:${PORTSDIR}/devel/qt4-linguist \
${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3
USE_QT_VER= 4
QT_COMPONENTS= corelib gui imageformats
LRELEASE= ${QT_PREFIX}/bin/lrelease-qt4
INSTALL_TARGET= install_target install_menu install_icon
.if !defined(WITHOUT_NLS)
PLIST_SUB+= NLS=""
INSTALL_TARGET+=install_i18n
.else
PLIST_SUB+= NLS="@comment "
.endif
.if !defined(NOPORTDOCS)
INSTALL_TARGET+=install_docs install_htmls
.endif
post-patch:
${REINPLACE_CMD} -e 's|PREFIX = /usr/local|PREFIX = ${PREFIX}|g' \
${WRKSRC}/project.pro
pre-build:
@${LRELEASE} ${BUILD_WRKSRC}/project.pro
@cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE} -spec ${QMAKESPEC}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
BROKEN= Does not compile (compiler segfault)
.endif
.include <bsd.port.post.mk>