aboutsummaryrefslogtreecommitdiffstats
path: root/net/iipsrv/Makefile
blob: ad067fd221cb04599a01253ff6a815eb6236f2c7 (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
# $FreeBSD$

PORTNAME=   iipsrv
PORTVERSION=    1.0
DISTVERSIONPREFIX=  ${PORTNAME}-
CATEGORIES= net

MAINTAINER= me@skylord.ru
COMMENT=    IIP (Internet Imaging Protocol) FastCGI server

LICENSE=    GPLv3

LIB_DEPENDS=    libtiff.so:graphics/tiff

USE_GITHUB= yes
GH_ACCOUNT= ruven

USES=       autoreconf jpeg libtool

GNU_CONFIGURE=  yes

USE_RC_SUBR=    ${PORTNAME}

PLIST_FILES=    bin/iipsrv.fcgi \
        man/man8/iipsrv.8.gz

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>