aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2019-06-29 10:41:27 +0000
committerKai Knoblich <kai@FreeBSD.org>2019-06-29 10:41:27 +0000
commitf68c694be303f68083593c2e6e8dbe2b4c0090e1 (patch)
treec645a1abd774f881056988bf0ce25a115c383adf /net
parentc19f299d9da5fe0470b26af6dc5e0adef1745e55 (diff)
downloadports-f68c694be303f68083593c2e6e8dbe2b4c0090e1.tar.gz
ports-f68c694be303f68083593c2e6e8dbe2b4c0090e1.zip
net/iipsrv: Update to 1.1
* Introduce non-default option JPEG2000 [1] Also while I'm here: * Add location to license file * Pet portclippy by grouping the USE_ variables to the USES block * Update WWW field to spare users from redirects Changelog: * JPEG2000 decoding via the OpenJPEG library [1] * ICC profile embedding support * XMP metadata embedding support * Clean URLs without the need for server-side URL rewriting * Logging through syslog * Histogram equalization and contrast stretch * Conversion to greyscale or bilevel (aka binary or bitonal) https://github.com/ruven/iipsrv/releases PR: 238812 Submitted by: Mikle Davidkin <me@skylord.ru> (maintainer)
Notes
Notes: svn path=/head/; revision=505345
Diffstat (limited to 'net')
-rw-r--r--net/iipsrv/Makefile14
-rw-r--r--net/iipsrv/distinfo5
-rw-r--r--net/iipsrv/pkg-descr2
3 files changed, 13 insertions, 8 deletions
diff --git a/net/iipsrv/Makefile b/net/iipsrv/Makefile
index ad067fd221cb..c3e91c34c58d 100644
--- a/net/iipsrv/Makefile
+++ b/net/iipsrv/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= iipsrv
-PORTVERSION= 1.0
+PORTVERSION= 1.1
DISTVERSIONPREFIX= ${PORTNAME}-
CATEGORIES= net
@@ -9,21 +9,25 @@ MAINTAINER= me@skylord.ru
COMMENT= IIP (Internet Imaging Protocol) FastCGI server
LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libtiff.so:graphics/tiff
+USES= autoreconf jpeg libtool pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= ruven
-
-USES= autoreconf jpeg libtool
+USE_RC_SUBR= ${PORTNAME}
GNU_CONFIGURE= yes
-USE_RC_SUBR= ${PORTNAME}
-
PLIST_FILES= bin/iipsrv.fcgi \
man/man8/iipsrv.8.gz
+OPTIONS_DEFINE= JPEG2000
+
+JPEG2000_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg
+JPEG2000_CONFIGURE_ENABLE= openjpeg
+
post-patch:
@${REINPLACE_CMD} -e 's|noinst_PROGRAMS|bin_PROGRAMS|g' \
${WRKSRC}/src/Makefile.am
diff --git a/net/iipsrv/distinfo b/net/iipsrv/distinfo
index cc390513ed4e..1e8484f3f551 100644
--- a/net/iipsrv/distinfo
+++ b/net/iipsrv/distinfo
@@ -1,2 +1,3 @@
-SHA256 (ruven-iipsrv-iipsrv-1.0_GH0.tar.gz) = 9156e80a855b36c5c0eb0707a3ea0ba95ec3a52d118d548af51eb2ef9e5e2f85
-SIZE (ruven-iipsrv-iipsrv-1.0_GH0.tar.gz) = 553962
+TIMESTAMP = 1561500358
+SHA256 (ruven-iipsrv-iipsrv-1.1_GH0.tar.gz) = 2a0243fba10a5e97c6f4fe058903f172fbd2f11afd5e8fb120f5aa5fa9c10aba
+SIZE (ruven-iipsrv-iipsrv-1.1_GH0.tar.gz) = 554637
diff --git a/net/iipsrv/pkg-descr b/net/iipsrv/pkg-descr
index bb825d6cd61b..e44045cb37ce 100644
--- a/net/iipsrv/pkg-descr
+++ b/net/iipsrv/pkg-descr
@@ -6,4 +6,4 @@ well as advanced image features such as 8/16/32 bits per
channel, CIELAB colorimetric images and scientific imagery
such as multispectral images and digital elevation maps.
-WWW: http://iipimage.sourceforge.net/
+WWW: https://iipimage.sourceforge.io