openbsd-ports/www/pound/Makefile
gsoares 2347fe0d94 add a rcscript. (From bjorn.ketelaars at hydroxide.nl)
with tweaks from myself

OK jasper@ sthen@
looks fine aja@
2011-05-23 14:49:42 +00:00

43 lines
878 B
Makefile

# $OpenBSD: Makefile,v 1.9 2011/05/23 14:49:42 gsoares Exp $
COMMENT = HTTP reverse proxy/load balancer/SSL offload
DISTNAME = Pound-2.5
PKGNAME = ${DISTNAME:L}
REVISION = 1
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 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
USE_GROFF = Yes
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>