openbsd-ports/www/pound/Makefile
benoit 92753183c9 - update pound to 2.5
- use new WANTLIB/LIB_DEPENDS style
2010-07-30 21:22:51 +00:00

41 lines
843 B
Makefile

# $OpenBSD: Makefile,v 1.5 2010/07/30 21:22:51 benoit Exp $
COMMENT = HTTP reverse proxy/load balancer/SSL offload
DISTNAME = Pound-2.5
PKGNAME = ${DISTNAME:L}
CATEGORIES = www
HOMEPAGE = http://www.apsis.ch/pound/
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c crypto m pcre 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_REGRESS = 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>