aboutsummaryrefslogtreecommitdiff
path: root/graphics/nomacs
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-07-17 15:20:23 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-07-17 15:20:23 +0000
commit94e86bc19ece19b1ded7ef34b863d3d3fc5271bb (patch)
tree158156e6c3339c536beda936a75514af6fe30e5f /graphics/nomacs
parent4221e47812ba7a6a077343ab61c34b46442938f4 (diff)
downloadports-94e86bc19ece19b1ded7ef34b863d3d3fc5271bb.tar.gz
ports-94e86bc19ece19b1ded7ef34b863d3d3fc5271bb.zip
graphics/nomacs: update to 1.4.0
- Update to 1.4.0 - Add TIFF option PR: ports/180486 Submitted by: Jens K. Loewe <bsd tuxproject.de> (maintainer)
Notes
Notes: svn path=/head/; revision=323176
Diffstat (limited to 'graphics/nomacs')
-rw-r--r--graphics/nomacs/Makefile13
-rw-r--r--graphics/nomacs/distinfo4
2 files changed, 12 insertions, 5 deletions
diff --git a/graphics/nomacs/Makefile b/graphics/nomacs/Makefile
index 62a28280eff4..5793ef1cf29e 100644
--- a/graphics/nomacs/Makefile
+++ b/graphics/nomacs/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= nomacs
-PORTVERSION= 1.2.0
+PORTVERSION= 1.4.0
CATEGORIES= graphics
MASTER_SITES= SF/nomacs/nomacs-${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
@@ -24,9 +24,10 @@ WRKSUBDIR= ${DISTNAME:S,-source,,}
WRKSRC= ${WRKTOP}/${WRKSUBDIR}
MAN1= nomacs.1
-OPTIONS_DEFINE= RAW
-OPTIONS_DEFAULT= RAW
+OPTIONS_DEFINE= RAW TIFF
+OPTIONS_DEFAULT= RAW TIFF
RAW_DESC= RAW images support
+TIFF_DESC= Support multi-page TIFF images
.include <bsd.port.options.mk>
@@ -37,6 +38,12 @@ LIB_DEPENDS+= raw:${PORTSDIR}/graphics/libraw \
CMAKE_ARGS+= -DENABLE_RAW=0
.endif
+.if ${PORT_OPTIONS:MTIFF}
+LIB_DEPENDS+= tiff:${PORTSDIR}/graphics/tiff
+.else
+CMAKE_ARGS+= -DENABLE_TIFF=0
+.endif
+
post-extract:
@${REINPLACE_CMD} -e 's|share/man/man1|man/man1|' ${WRKSRC}/CMakeLists.txt
diff --git a/graphics/nomacs/distinfo b/graphics/nomacs/distinfo
index 4a6684987483..26cbcfd2c09d 100644
--- a/graphics/nomacs/distinfo
+++ b/graphics/nomacs/distinfo
@@ -1,2 +1,2 @@
-SHA256 (nomacs-1.2.0-source.tar.bz2) = 0c60e5d17a7f3d17f33344b59440dad2bac0358fd1fae85b48574f2c61674259
-SIZE (nomacs-1.2.0-source.tar.bz2) = 859335
+SHA256 (nomacs-1.4.0-source.tar.bz2) = bf76935d3b0adfca5a9c15e2dd59498e71ddad80bced2c4d545e165119cb97cb
+SIZE (nomacs-1.4.0-source.tar.bz2) = 885880