pkgsrc-wip/ap2-evasive/Makefile
Tobias Nygren d2ab3469b0 Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@
2008-01-18 04:30:10 +00:00

30 lines
796 B
Makefile

# $NetBSD: Makefile,v 1.4 2008/01/18 04:30:10 tnn2 Exp $
#
.include "../../wip/ap-evasive/Makefile.common"
PKGNAME= ap2-evasive-1.10.1
PKGREVISION= 1
PKG_APACHE_ACCEPTED= apache2
APACHE_MODULE= yes
APACHE_MODULE_NAME= ${DISTNAME:C|_[^_]*$||}20.so
APACHE_MODULE_SRC= ${DISTNAME:C|_[^_]*$||}20.c
APACHE_MODULE_LA= ${DISTNAME:C|_[^_]*$||}20.la
USE_TOOLS+= mail
SUBST_CLASSES+= mailer
SUBST_STAGE.mailer= post-patch
SUBST_FILES.mailer= mod_evasive.c
SUBST_SED.mailer= -e s,/bin/mail,${MAIL_CMD},
SUBST_MESSAGE.mailer= Fixing mail command path.
do-build:
cd ${WRKSRC} && ${APXS} -c -n ${APACHE_MODULE_NAME} ${APACHE_MODULE_SRC}
do-install:
cd ${WRKSRC} && ${APXS} -i -n ${APACHE_MODULE_NAME} ${APACHE_MODULE_LA}
.include "../../www/apache2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"