freebsd-ports/www/varnish-modules/Makefile

37 lines
894 B
Makefile
Raw Normal View History

# Created by: Mark Felder <feld@FreeBSD.org>
# $FreeBSD$
PORTNAME= modules
DISTVERSION= 0.9.1
CATEGORIES= www
PKGNAMEPREFIX= varnish-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
MAINTAINER= feld@FreeBSD.org
COMMENT= Collection of Varnish Cache modules by Varnish Software
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= varnish4>=4.1.0:www/varnish4 \
rst2man:textproc/py-docutils
USES= autoreconf:build gmake libtool pkgconfig python:2,build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static
CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/varnish
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/varnish
INSTALL_TARGET= install-strip
USE_GITHUB= yes
GH_ACCOUNT= varnish
GH_TAGNAME= varnish-modules-${DISTVERSION}
MAKE_JOBS_UNSAFE= yes
WRKSRC= ${WRKDIR}/varnish-modules-varnish-modules-${DISTVERSION}
pre-configure:
cd ${WRKSRC} && ./bootstrap
.include <bsd.port.mk>