aboutsummaryrefslogtreecommitdiffstats
path: root/www/varnish-libvmod-header/Makefile
blob: 1cf47762a9c348d0e050fff7e749db09d391cd71 (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
41
# Created by: anders
# $FreeBSD$

PORTNAME=   libvmod-header
DISTVERSION=    0.3-5
CATEGORIES= www
MASTER_SITES=   http://anders.fupp.net/distfiles/
PKGNAMEPREFIX=  varnish-
#DISTNAME=  KristianLyng-${PORTNAME}-${VMOD_HEADER_HASH}
#DISTFILES= KristianLyng-${PORTNAME}-${DISTVERSION}-g${VMOD_HEADER_HASH}.tar.gz

MAINTAINER= anders@FreeBSD.org
COMMENT=    Varnish Module (vmod) for manipulation of duplicated headers

LICENSE=    BSD

BUILD_DEPENDS=  ${LOCALBASE}/include/varnish/varnishapi.h:${PORTSDIR}/www/varnish \
        rst2man:${PORTSDIR}/textproc/py-docutils

FETCH_ARGS= -Fpr

USE_AUTOTOOLS=  aclocal libtool libtoolize autoheader automake autoconf
USES=       gmake pkgconfig
ACLOCAL_ARGS=   -I m4
LIBTOOLFLAGS=   --copy --force
AUTOMAKE_ARGS=  --add-missing --copy --foreign
CONFIGURE_ENV=  LOCALBASE=${LOCALBASE}
CFLAGS+=    -I${LOCALBASE}/include -I${LOCALBASE}/include/varnish
CPPFLAGS+=  -I${LOCALBASE}/include -I${LOCALBASE}/include/varnish

MAN3=       vmod_header.3
WRKSRC=     ${WRKDIR}/${PORTNAME}-master

.include <bsd.port.pre.mk>

post-install:
.if !defined(BATCH)
    @${CAT} ${PKGMESSAGE}
.endif

.include <bsd.port.post.mk>