aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/qtpfsgui/Makefile
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-05-11 02:12:48 +0800
committermiwi <miwi@FreeBSD.org>2009-05-11 02:12:48 +0800
commit92a41217e70d76e500d73d713446c5ae3190e414 (patch)
tree2b5cf6441fbaaaab79aaadd3439f2a548c8380fc /graphics/qtpfsgui/Makefile
parent44422c6b2e0c8f315bcc9fc34f923b0bb9b89355 (diff)
downloadfreebsd-ports-graphics-92a41217e70d76e500d73d713446c5ae3190e414.tar.gz
freebsd-ports-graphics-92a41217e70d76e500d73d713446c5ae3190e414.tar.zst
freebsd-ports-graphics-92a41217e70d76e500d73d713446c5ae3190e414.zip
- Update to 1.9.3
PR: 134287 Submitted by: Ports Fury
Diffstat (limited to 'graphics/qtpfsgui/Makefile')
-rw-r--r--graphics/qtpfsgui/Makefile38
1 files changed, 23 insertions, 15 deletions
diff --git a/graphics/qtpfsgui/Makefile b/graphics/qtpfsgui/Makefile
index 52b0d849386..e9a9eef50ac 100644
--- a/graphics/qtpfsgui/Makefile
+++ b/graphics/qtpfsgui/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>