Add a master site, hopefully it helps when github.com starts to deliver updated distfile when not asking for it.
47 lines
1.2 KiB
Makefile
47 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-4
|
|
CATEGORIES= www
|
|
MASTER_SITES= https://github.com/KristianLyng/libvmod-header/tarball/master/ \
|
|
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
|
|
|
|
VMOD_HEADER_HASH= c8589c0
|
|
|
|
MAN3= vmod_header.3
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-install:
|
|
.if !defined(BATCH)
|
|
@${CAT} ${PKGMESSAGE}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|