openbsd-ports/www/pound/Makefile
kili d211b1f9ef Update to Pound-2.7.
ok jca@, who had the same diff.
2015-05-13 13:30:37 +00:00

38 lines
762 B
Makefile

# $OpenBSD: Makefile,v 1.13 2015/05/13 13:30:37 kili Exp $
COMMENT = HTTP reverse proxy/load balancer/SSL offload
DISTNAME = Pound-2.7
PKGNAME = ${DISTNAME:L}
CATEGORIES = www
HOMEPAGE = http://www.apsis.ch/pound/
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = c crypto m pcreposix pthread ssl
MASTER_SITES = ${HOMEPAGE}
EXTRACT_SUFX = .tgz
LIB_DEPENDS = devel/pcre
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
--with-owner=root \
--with-group=bin
NO_TEST = Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/pound.8
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pound
${INSTALL_DATA} ${FILESDIR}/pound.cfg ${PREFIX}/share/examples/pound/
.include <bsd.port.mk>