aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2007-09-09 20:15:34 +0800
committeredwin <edwin@FreeBSD.org>2007-09-09 20:15:34 +0800
commit02523afbb4ee22ac334a6dda29520bcf86ffc0c0 (patch)
treee0a75f9be5f017df1f1d55ce48da00e411d257db
parent97ccc6ae6132b110e781c30f52c4fdf4a011df10 (diff)
downloadfreebsd-ports-gnome-02523afbb4ee22ac334a6dda29520bcf86ffc0c0.tar.gz
freebsd-ports-gnome-02523afbb4ee22ac334a6dda29520bcf86ffc0c0.tar.zst
freebsd-ports-gnome-02523afbb4ee22ac334a6dda29520bcf86ffc0c0.zip
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>
-rw-r--r--graphics/Makefile1
-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
-rw-r--r--graphics/qtpfsgui/Makefile48
-rw-r--r--graphics/qtpfsgui/distinfo3
-rw-r--r--graphics/qtpfsgui/files/patch-project.pro29
-rw-r--r--graphics/qtpfsgui/pkg-descr4
-rw-r--r--graphics/qtpfsgui/pkg-plist35
11 files changed, 239 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index ffbeb001ac28..4db06192309c 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -611,6 +611,7 @@
SUBDIR += qt4-imageformats
SUBDIR += qt4-pixeltool
SUBDIR += qt4-svg
+ SUBDIR += qtpfsgui
SUBDIR += quat
SUBDIR += quat-gui
SUBDIR += quesa
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
diff --git a/graphics/qtpfsgui/Makefile b/graphics/qtpfsgui/Makefile
new file mode 100644
index 000000000000..2089bb5591f5
--- /dev/null
+++ b/graphics/qtpfsgui/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/qtpfsgui/distinfo b/graphics/qtpfsgui/distinfo
new file mode 100644
index 000000000000..a33b5da40b91
--- /dev/null
+++ b/graphics/qtpfsgui/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/qtpfsgui/files/patch-project.pro b/graphics/qtpfsgui/files/patch-project.pro
new file mode 100644
index 000000000000..c92b55b377e6
--- /dev/null
+++ b/graphics/qtpfsgui/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/qtpfsgui/pkg-descr b/graphics/qtpfsgui/pkg-descr
new file mode 100644
index 000000000000..a0b6587f4ee9
--- /dev/null
+++ b/graphics/qtpfsgui/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/qtpfsgui/pkg-plist b/graphics/qtpfsgui/pkg-plist
new file mode 100644
index 000000000000..d4c3973d5673
--- /dev/null
+++ b/graphics/qtpfsgui/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