aboutsummaryrefslogtreecommitdiff
path: root/graphics/luminance/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-05-10 18:12:48 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-05-10 18:12:48 +0000
commite97720e0b3f54373ba35947cb728ca266e35c5c7 (patch)
treeaaac8fdce495d8ed09a65cccb338a7e845eb8d0a /graphics/luminance/Makefile
parentb168507c6cb24016b2df56e28275b6c2dc24e4a6 (diff)
downloadports-e97720e0b3f54373ba35947cb728ca266e35c5c7.tar.gz
ports-e97720e0b3f54373ba35947cb728ca266e35c5c7.zip
Notes
Diffstat (limited to 'graphics/luminance/Makefile')
-rw-r--r--graphics/luminance/Makefile38
1 files changed, 23 insertions, 15 deletions
diff --git a/graphics/luminance/Makefile b/graphics/luminance/Makefile
index 52b0d8493863..e9a9eef50acd 100644
--- a/graphics/luminance/Makefile
+++ b/graphics/luminance/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= qtpfsgui
-PORTVERSION= 1.9.2
-PORTREVISION= 2
+PORTVERSION= 1.9.3
CATEGORIES= graphics
MASTER_SITES= SF
@@ -15,16 +14,16 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A graphical user interface that provides a workflow for HDR imaging
BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3
-LIB_DEPENDS= exiv2:${PORTSDIR}/graphics/exiv2 \
- jpeg:${PORTSDIR}/graphics/jpeg \
- IlmImf:${PORTSDIR}/graphics/OpenEXR \
- tiff:${PORTSDIR}/graphics/tiff \
- fftw3f:${PORTSDIR}/math/fftw3-float
+LIB_DEPENDS= exiv2.7:${PORTSDIR}/graphics/exiv2 \
+ jpeg.9:${PORTSDIR}/graphics/jpeg \
+ IlmImf.6:${PORTSDIR}/graphics/OpenEXR \
+ tiff.4:${PORTSDIR}/graphics/tiff \
+ fftw3f.4:${PORTSDIR}/math/fftw3-float
USE_QT_VER= 4
QT_COMPONENTS= corelib gui imageformats \
linguist_build moc_build qmake_build rcc_build uic_build
-ALL_TARGET= -j`${SYSCTL} -n hw.ncpu`
+MAKE_JOBS_SAFE= yes
INSTALL_TARGET= install_target install_menu install_icon install_i18n
INSTALLS_ICONS= yes
@@ -40,24 +39,33 @@ post-patch:
.for file in src/MainWindow/mainWindow.cpp \
src/Preferences/preferencesDialog.cpp \
src/TransplantExif/transplant.cpp
- @${REINPLACE_CMD} -e 's|/usr/local/share/qtpfsgui/|${DOCSDIR}/|g' \
- ${WRKSRC}/${file}
+ @${REINPLACE_CMD} -e 's|/usr/share/qtpfsgui|${DOCSDIR}|g ; \
+ s|/usr/local/share/qtpfsgui|${DATADIR}|g' ${WRKSRC}/${file}
.endfor
do-configure:
@${LRELEASE} ${WRKSRC}/project.pro
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -spec ${QMAKESPEC}
-post-install:
- @${STRIP_CMD} ${PREFIX}/bin/qtpfsgui
- ${INSTALL} -d ${PREFIX}/share/icons/hicolor/48x48/apps
- @${LN} -sf ${PREFIX}/share/pixmaps/qtpfsgui.png \
- ${PREFIX}/share/icons/hicolor/48x48/apps/qtpfsgui.png
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/qtpfsgui ${PREFIX}/bin
+ @${MKDIR} ${PREFIX}/share/applications
+ ${INSTALL_DATA} ${WRKSRC}/qtpfsgui.desktop ${PREFIX}/share/applications
+ @${MKDIR} ${PREFIX}/share/icons/hicolor/32x32/apps
+ ${INSTALL_DATA} ${WRKSRC}/images/qtpfsgui.png \
+ ${PREFIX}/share/icons/hicolor/32x32/apps
+ @${LN} -sf ${PREFIX}/share/icons/hicolor/32x32/apps/qtpfsgui.png \
+ ${PREFIX}/share/pixmaps/qtpfsgui.png
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DATADIR}
+ @${MKDIR} ${DATADIR}/i18n
+ ${INSTALL_DATA} ${WRKSRC}/i18n/*.qm ${DATADIR}/i18n
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for doc_file in AUTHORS Changelog README TODO
${INSTALL_DATA} ${WRKSRC}/${doc_file} ${DOCSDIR}
.endfor
+ @(cd ${WRKSRC}; ${COPYTREE_SHARE} html ${DOCSDIR})
.endif
.include <bsd.port.mk>