aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/luminance
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2012-09-22 23:17:45 +0800
committerdanfe <danfe@FreeBSD.org>2012-09-22 23:17:45 +0800
commit002a30e80e438af9f61b774df3dbbfb6a9c9b184 (patch)
treea24cfed7522004e2db05b09a7d8972ffcadf303d /graphics/luminance
parentb18111f729f24c146647b9e4b2fafe6b3a9ffb83 (diff)
downloadfreebsd-ports-gnome-002a30e80e438af9f61b774df3dbbfb6a9c9b184.tar.gz
freebsd-ports-gnome-002a30e80e438af9f61b774df3dbbfb6a9c9b184.tar.zst
freebsd-ports-gnome-002a30e80e438af9f61b774df3dbbfb6a9c9b184.zip
- Set PORTNAME to more appropriate "luminance-hdr" value, to reflect distfile
(and project) name and remove necessity to set DATADIR and DOCSDIR vars - Allow application to find GPLv2 text to display in the "About" dialog box - Slightly touch port description text Discussed with: maintainer
Diffstat (limited to 'graphics/luminance')
-rw-r--r--graphics/luminance/Makefile11
-rw-r--r--graphics/luminance/pkg-descr2
2 files changed, 7 insertions, 6 deletions
diff --git a/graphics/luminance/Makefile b/graphics/luminance/Makefile
index 0c7ba05b35bd..4f8b982c727a 100644
--- a/graphics/luminance/Makefile
+++ b/graphics/luminance/Makefile
@@ -5,11 +5,10 @@
# $FreeBSD$
#
-PORTNAME= luminance
+PORTNAME= luminance-hdr
DISTVERSION= 2.3.0
CATEGORIES= graphics
MASTER_SITES= SF/qtpfsgui/${PORTNAME}/${DISTVERSION}
-DISTNAME= ${PORTNAME}-hdr-${DISTVERSION}
MAINTAINER= h2+fbsdports@fsfe.org
COMMENT= Complete open source solution for HDR photography
@@ -32,15 +31,17 @@ USE_QT4= gui sql webkit xml linguist_build moc_build qmake_build \
INSTALLS_ICONS= yes
MAKE_JOBS_SAFE= yes
-DATADIR= ${PREFIX}/share/${PORTNAME}-hdr
-DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-hdr
-
post-patch:
# Do not install yet another copy of GPL (we use license framework instead)
# and fix installation path for docs (but not for internal help files)
@${REINPLACE_CMD} -e '/LICENSE/d ; \
/#info files/s,share/luminance-hdr,${DOCSDIR_REL},' \
${WRKSRC}/CMakeLists.txt
+# Point to the right location for program where to look for GPL text
+ @${REINPLACE_CMD} -e 's,LICENSE,${LICENSE}, ; \
+ s,share/doc/luminance-hdr,share/licenses/${PKGNAME},' \
+ ${WRKSRC}/src/UI/UMessageBox.cpp
+
# Allow builds from release distfile to display correct git hash in "About"
# dialog window
@${REINPLACE_CMD} -e \
diff --git a/graphics/luminance/pkg-descr b/graphics/luminance/pkg-descr
index dc1915d6d8e3..5f91e7bd95b7 100644
--- a/graphics/luminance/pkg-descr
+++ b/graphics/luminance/pkg-descr
@@ -1,5 +1,5 @@
Luminance HDR is an open source graphical user interface application that
-aims to provide a workflow for HDR imaging.
+aims to provide a complete workflow for HDR image processing.
Supported features: