aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoravilla <avilla@FreeBSD.org>2013-11-13 16:42:09 +0800
committeravilla <avilla@FreeBSD.org>2013-11-13 16:42:09 +0800
commit031586144f14d08e541d9e113ae514e91c699d08 (patch)
tree05a3f1ea4e96d293d97262e22a8bc938df1e7b31 /graphics
parentad4c0ae287d5d11b662865a8c35e7c07565a1e65 (diff)
downloadfreebsd-ports-gnome-031586144f14d08e541d9e113ae514e91c699d08.tar.gz
freebsd-ports-gnome-031586144f14d08e541d9e113ae514e91c699d08.tar.zst
freebsd-ports-gnome-031586144f14d08e541d9e113ae514e91c699d08.zip
- Update to 0.9.3.
- STAGEify. - Use LIB_DEPENDS new format. - Optionally install EXAMPLES. - Mark explicit dependency on qt4-corelib. - Remove common LICENSE_FILE. - Share pkg-descr with graphics/opengtl.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/qtgtl/Makefile29
-rw-r--r--graphics/qtgtl/distinfo4
-rw-r--r--graphics/qtgtl/pkg-descr18
3 files changed, 22 insertions, 29 deletions
diff --git a/graphics/qtgtl/Makefile b/graphics/qtgtl/Makefile
index f1c32f7aeee6..ca6574d0d1ff 100644
--- a/graphics/qtgtl/Makefile
+++ b/graphics/qtgtl/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= qtgtl
-PORTVERSION= 0.9.2
-PORTREVISION= 1
+PORTVERSION= 0.9.3
CATEGORIES= graphics devel
MASTER_SITES= http://download.opengtl.org/
DISTNAME= libQtGTL-${PORTVERSION}
@@ -11,21 +10,33 @@ MAINTAINER= avilla@FreeBSD.org
COMMENT= Qt bindings for the Graphics Transformation Languages
LICENSE= LGPL20
-LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= GTLCore.0:${PORTSDIR}/graphics/opengtl
+LIB_DEPENDS= libGTLCore.so:${PORTSDIR}/graphics/opengtl
-USE_QT4= gui moc_build qmake_build rcc_build uic_build
+USE_QT4= corelib gui moc_build qmake_build rcc_build uic_build
+USES= cmake:outsource pkgconfig
USE_BZIP2= yes
-USES= cmake pkgconfig
USE_LDCONFIG= yes
-NO_STAGE= yes
+DESCR= ${.CURDIR:H:H}/graphics/opengtl/pkg-descr
+
+PORTEXAMPLES= QtCTL QtShiva
+
+OPTIONS_DEFINE= EXAMPLES
+
pre-configure:
- ${REINPLACE_CMD} -e 's|set(QTGTL_LIB_SOVERSION.*|set(QTGTL_LIB_SOVERSION "0")|' \
+ @${REINPLACE_CMD} -e 's,set(QTGTL_LIB_SOVERSION.*,set(QTGTL_LIB_SOVERSION "0"),' \
${PATCH_WRKSRC}/CMakeLists.txt
- ${REINPLACE_CMD} -e 's|$${LIB_INSTALL_DIR}/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
+ @${REINPLACE_CMD} -e 's,$${LIB_INSTALL_DIR}/pkgconfig,${PREFIX}/libdata/pkgconfig,g' \
${PATCH_WRKSRC}/QtGTL/CMakeLists.txt \
${PATCH_WRKSRC}/QtShiva/CMakeLists.txt
+post-install:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+.for f in ${PORTEXAMPLES}
+ cd ${WRKSRC}/examples && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/examples/${f}/${f:S/Qt/q/} \
+ ${STAGEDIR}${EXAMPLESDIR}/${f}
+.endfor
+
.include <bsd.port.mk>
diff --git a/graphics/qtgtl/distinfo b/graphics/qtgtl/distinfo
index 29ed357a891f..0d5c96d9a725 100644
--- a/graphics/qtgtl/distinfo
+++ b/graphics/qtgtl/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libQtGTL-0.9.2.tar.bz2) = 840a2657eae208ffcb3ecc8fa26655a56b85feee1d4a511b0bc74ad5fd65dbc8
-SIZE (libQtGTL-0.9.2.tar.bz2) = 28428
+SHA256 (libQtGTL-0.9.3.tar.bz2) = dd6925aa146981038cc462f3a427d65030b600f263a98a03f830070f554a2d7b
+SIZE (libQtGTL-0.9.3.tar.bz2) = 27903
diff --git a/graphics/qtgtl/pkg-descr b/graphics/qtgtl/pkg-descr
deleted file mode 100644
index e8c896f3fd71..000000000000
--- a/graphics/qtgtl/pkg-descr
+++ /dev/null
@@ -1,18 +0,0 @@
-The Graphics Transformation Languages is a set of libraries for using and
-integrating transformation algorithms (such as filter or color conversion) in
-graphics applications.
-The goal is to provide the tools, languages and libraries to create generic
-transformation for graphics. Those transformations could then be used by
-different programs (Krita, The Gimp, CinePaint, gegl...).
-
-Currently the focus is on developing two languages, designed for two different
-implementations.
-- OpenCTL which is a GPL compatible of the Color Transformation Language, this
- language is dedicated at transforming the value of a single pixel (for
- instance brightness adjustement or desaturate). CTL is designed to be part of
- the Color Management process.
-- OpenShiva is inspired by Adobe's Hydra language from the AIF Toolkit, Shiva
- is a language that apply a kernel-like transformations on an image, that means
- it works using more than one pixel.
-
-WWW: http://opengtl.org