pkgsrc/www/pound/Makefile

33 lines
925 B
Makefile

# $NetBSD: Makefile,v 1.5 2010/01/17 12:02:50 wiz Exp $
DISTNAME= Pound-2.4.5
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
PKG_DESTDIR_SUPPORT= user-destdir
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"