summaryrefslogtreecommitdiff
path: root/graphics/luminance
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-09-09 12:15:34 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-09-09 12:15:34 +0000
commitc4f21466e4617577bc2ebca1e32b22758ff7b021 (patch)
treeb55d383c409bf593f82a7371507aab78abb879b3 /graphics/luminance
parentcomms/hylafax: update to 4.3.3 (diff)
New port:graphics/qtpfsgui A graphical user interface that provides a workflow for HDR imaging
Qtpfsgui is a graphical user interface (based on trolltech's Qt4) that provides a workflow for HDR imaging. WWW: http://qtpfsgui.sourceforge.net/ PR: ports/114984 Submitted by: Yinghong.Liu <relaxbsd@gmail.com>
Notes
Notes: svn path=/head/; revision=199188
Diffstat (limited to 'graphics/luminance')
-rw-r--r--graphics/luminance/Makefile48
-rw-r--r--graphics/luminance/distinfo3
-rw-r--r--graphics/luminance/files/patch-project.pro29
-rw-r--r--graphics/luminance/pkg-descr4
-rw-r--r--graphics/luminance/pkg-plist35
5 files changed, 119 insertions, 0 deletions
diff --git a/graphics/luminance/Makefile b/graphics/luminance/Makefile
new file mode 100644
index 000000000000..2089bb5591f5
--- /dev/null
+++ b/graphics/luminance/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: qtpfsgui
+# Date created: 28 Jul 2007
+# Whom: Yinghong.Liu <relaxbsd@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= qtpfsgui
+DISTVERSION= 1.8.10
+CATEGORIES= graphics
+MASTER_SITES= SF
+
+MAINTAINER= relaxbsd@gmail.com
+COMMENT= A graphical user interface that provides a workflow for HDR imaging
+
+LIB_DEPENDS= exiv2.0:${PORTSDIR}/graphics/exiv2 \
+ fftw3f.4:${PORTSDIR}/math/fftw3-float \
+ IlmImf.4:${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
+
+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
+.endif
+
+pre-build:
+ @${LRELEASE} ${BUILD_WRKSRC}/project.pro
+ @cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE} -spec ${QMAKESPEC}
+
+.include <bsd.port.mk>
diff --git a/graphics/luminance/distinfo b/graphics/luminance/distinfo
new file mode 100644
index 000000000000..a33b5da40b91
--- /dev/null
+++ b/graphics/luminance/distinfo
@@ -0,0 +1,3 @@
+MD5 (qtpfsgui-1.8.10.tar.gz) = 909cf32d90f2c7561d92877575742bd8
+SHA256 (qtpfsgui-1.8.10.tar.gz) = 0cb2f9186dd1f32ca1d64340055fb9d71da786a9a5cb3ebe346251d551200e95
+SIZE (qtpfsgui-1.8.10.tar.gz) = 1080221
diff --git a/graphics/luminance/files/patch-project.pro b/graphics/luminance/files/patch-project.pro
new file mode 100644
index 000000000000..c92b55b377e6
--- /dev/null
+++ b/graphics/luminance/files/patch-project.pro
@@ -0,0 +1,29 @@
+--- project.pro.orig Sat Jul 14 21:44:28 2007
++++ project.pro Sun Sep 9 21:54:27 2007
+@@ -171,13 +171,13 @@
+ menu.files = qtpfsgui.desktop
+ menu.path = $${PREFIX}/share/applications
+ icon.files = images/qtpfsgui.png
+-icon.path = $${PREFIX}/share/icons/hicolor/48x48/apps
+-htmls.files = html
+-htmls.path = $${PREFIX}/share/qtpfsgui
++icon.path = $${PREFIX}/share/pixmaps
++docs.files = AUTHORS COPYING Changelog INSTALL NEWS README TODO html
++docs.path = $${PREFIX}/share/doc/qtpfsgui
+ i18n.files = i18n/lang_de.qm i18n/lang_es.qm i18n/lang_it.qm i18n/lang_fr.qm i18n/lang_pl.qm i18n/lang_tr.qm
+ i18n.path = $$I18NDIR
+
+-INSTALLS += target menu icon htmls i18n
++INSTALLS += target menu icon docs i18n
+ message ( "" )
+ message ("********************************************************************")
+ message ("Installation PREFIX=$$PREFIX")
+@@ -191,7 +191,7 @@
+ message ("qtpfsgui ==> $$target.path")
+ message ("qtpfsgui.desktop ==> $$menu.path")
+ message ("qtpfsgui.png ==> $$icon.path")
+-message ("html directory ==> $$htmls.path")
++message ("doc directory ==> $$docs.path")
+ message ("i18n messages ==> $$i18n.path")
+ message ("********************************************************************")
+
diff --git a/graphics/luminance/pkg-descr b/graphics/luminance/pkg-descr
new file mode 100644
index 000000000000..a0b6587f4ee9
--- /dev/null
+++ b/graphics/luminance/pkg-descr
@@ -0,0 +1,4 @@
+Qtpfsgui is a graphical user interface (based on trolltech's Qt4)
+that provides a workflow for HDR imaging.
+
+WWW: http://qtpfsgui.sourceforge.net/
diff --git a/graphics/luminance/pkg-plist b/graphics/luminance/pkg-plist
new file mode 100644
index 000000000000..d4c3973d5673
--- /dev/null
+++ b/graphics/luminance/pkg-plist
@@ -0,0 +1,35 @@
+bin/qtpfsgui
+share/applications/qtpfsgui.desktop
+share/pixmaps/qtpfsgui.png
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/Changelog
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/html/faq.html
+%%PORTDOCS%%%%DOCSDIR%%/html/hints.html
+%%PORTDOCS%%%%DOCSDIR%%/html/images/batch-1.jpg
+%%PORTDOCS%%%%DOCSDIR%%/html/images/copy_exif.jpeg
+%%PORTDOCS%%%%DOCSDIR%%/html/images/mainwin.jpeg
+%%PORTDOCS%%%%DOCSDIR%%/html/images/resize.jpeg
+%%PORTDOCS%%%%DOCSDIR%%/html/images/snap-qt4_3.jpeg
+%%PORTDOCS%%%%DOCSDIR%%/html/images/snap-qt4_4.jpeg
+%%PORTDOCS%%%%DOCSDIR%%/html/images/snap-qt4_5.jpeg
+%%PORTDOCS%%%%DOCSDIR%%/html/images/snap-qt4_6.jpeg
+%%PORTDOCS%%%%DOCSDIR%%/html/images/tonemapdialog.jpeg
+%%PORTDOCS%%%%DOCSDIR%%/html/index.html
+%%PORTDOCS%%%%DOCSDIR%%/html/manual.html
+%%NLS%%%%DATADIR%%/i18n/lang_de.qm
+%%NLS%%%%DATADIR%%/i18n/lang_es.qm
+%%NLS%%%%DATADIR%%/i18n/lang_fr.qm
+%%NLS%%%%DATADIR%%/i18n/lang_it.qm
+%%NLS%%%%DATADIR%%/i18n/lang_pl.qm
+%%NLS%%%%DATADIR%%/i18n/lang_tr.qm
+%%NLS%%@dirrm %%DATADIR%%/i18n
+%%NLS%%@dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/images
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrmtry share/applications