pkgsrc/www/pound/Makefile

31 lines
894 B
Makefile

# $NetBSD: Makefile,v 1.12 2016/03/05 11:29:39 jperkin Exp $
DISTNAME= Pound-2.7f
PKGNAME= ${DISTNAME:S/Pound/pound/}
PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.apsis.ch/pound/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.apsis.ch/pound/
COMMENT= Reverse proxy, load balancer and HTTPS front-end
LICENSE= gnu-gpl-v3
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
USE_FEATURES.openssl= threads
RCD_SCRIPTS= pound
SUBST_CLASSES= config
SUBST_MESSAGE.config= Fixing path to default config file.
SUBST_STAGE.config= post-build
SUBST_FILES.config= pound.8
SUBST_SED.config= -e "s,/usr/local/etc/,"${PKG_SYSCONFDIR:Q}"/,g"
.include "../../devel/pcre/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
CONFIGURE_ARGS+= --with-ssl=${SSLBASE}
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"