# $NetBSD: Makefile,v 1.3 2006/03/22 22:50:33 tv Exp $ # DISTNAME= mod_rpaf-0.5 PKGNAME= ${DISTNAME:S/mod_/ap-/} CATEGORIES= www MASTER_SITES= http://stderr.net/apache/rpaf/download/ MAINTAINER= tv@NetBSD.org HOMEPAGE= http://stderr.net/apache/rpaf/ COMMENT= Remaps reverse-proxied connections to "real" requesting IPs APACHE_MODULE= # defined INSTALLATION_DIRS= share/doc .include "../../mk/apache.mk" do-build: cd ${WRKSRC} && ${APXS} -c mod_rpaf.c do-install: cd ${WRKSRC} && ${APXS} -n rpaf_module -i mod_rpaf.${APXS_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mod_rpaf.txt APXS_SUFFIX?= so .if ${PKG_APACHE} != "apache13" APXS_SUFFIX= la do-configure: ${RM} -f ${WRKSRC}/mod_rpaf.c ${CP} -f ${WRKSRC}/mod_rpaf-2.0.c ${WRKSRC}/mod_rpaf.c .endif .include "../../mk/bsd.pkg.mk"