svn commit: r304682 - head/graphics/luminance
Alexey Dokuchaev
danfe at FreeBSD.org
Sat Sep 22 15:17:46 UTC 2012
Author: danfe
Date: Sat Sep 22 15:17:45 2012
New Revision: 304682
URL: http://svn.freebsd.org/changeset/ports/304682
Log:
- 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
Modified:
head/graphics/luminance/Makefile
head/graphics/luminance/pkg-descr
Modified: head/graphics/luminance/Makefile
==============================================================================
--- head/graphics/luminance/Makefile Sat Sep 22 15:13:13 2012 (r304681)
+++ head/graphics/luminance/Makefile Sat Sep 22 15:17:45 2012 (r304682)
@@ -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 at fsfe.org
COMMENT= Complete open source solution for HDR photography
@@ -32,15 +31,17 @@ USE_QT4= gui sql webkit xml linguist_bui
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 \
Modified: head/graphics/luminance/pkg-descr
==============================================================================
--- head/graphics/luminance/pkg-descr Sat Sep 22 15:13:13 2012 (r304681)
+++ head/graphics/luminance/pkg-descr Sat Sep 22 15:17:45 2012 (r304682)
@@ -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:
More information about the svn-ports-all
mailing list