1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/net/iipsrv/Makefile
Kai Knoblich f68c694be3 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)
2019-06-29 10:41:27 +00:00

43 lines
920 B
Makefile

# $FreeBSD$
PORTNAME= iipsrv
PORTVERSION= 1.1
DISTVERSIONPREFIX= ${PORTNAME}-
CATEGORIES= net
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
USE_RC_SUBR= ${PORTNAME}
GNU_CONFIGURE= yes
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
@${REINPLACE_CMD} -e 's|include_HEADERS|noinst_HEADERS|g' \
${WRKSRC}/fcgi/Makefile.am
@${REINPLACE_CMD} -e 's|include_HEADERS|noinst_HEADERS|g' \
${WRKSRC}/fcgi/include/Makefile.am
pre-configure:
@(cd ${WRKSRC} && ./autogen.sh)
.include <bsd.port.mk>