freebsd-ports/www/varnish-libvmod-header/Makefile
Anders Nordby b9aba35e1e Update to a version that works with Varnish 3.0.3.
Unfortunately I have to roll the tarball myself as there are no versioned
downloads in the github project.

Feature safe: yes
2012-11-19 00:20:27 +00:00

45 lines
1.2 KiB
Makefile

# New ports collection makefile for: varnish-libvmod-header
# Date created: 2011-08-23
# Whom: 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
USE_GMAKE= yes
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>