blob: 67b23fd8392104aa178e400c89e2487a82a01fe5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
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>
|