summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2012-09-22 15:17:45 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2012-09-22 15:17:45 +0000
commit9c2885138a99c2943de26e5124c286c9e51b9c45 (patch)
treea24cfed7522004e2db05b09a7d8972ffcadf303d /graphics
parent- Reassign to the heap at maintainer's request (diff)
- 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
Notes
Notes: svn path=/head/; revision=304682
Diffstat (limited to 'graphics')
-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: