pkgsrc/www/ap22-limitipconn/Makefile

37 lines
1 KiB
Makefile
Raw Normal View History

2013-12-01 11:18:02 +01:00
# $NetBSD: Makefile,v 1.5 2013/12/01 10:18:04 ryoon Exp $
#
DISTNAME= mod_limitipconn-0.23
EXTRACT_SUFX= .tar.bz2
PKGNAME= ${DISTNAME:S/mod_/ap22-/}
2013-12-01 11:18:02 +01:00
PKGREVISION= 4
CATEGORIES= www
MASTER_SITES= http://dominia.org/djao/limit/
LICENSE= apache-2.0
PATCH_SITES= http://dominia.org/djao/limit/contrib/dg/
PATCHFILES= mod_limitipconn_local_IP_patch_2.diff
MAINTAINER= is@NetBSD.org
HOMEPAGE= http://dominia.org/djao/limitipconn2.html
COMMENT= Limits per-IP connections to an Apache 2 server
APACHE_MODULE= yes
MAKE_FLAGS+= APXS=${APXS:Q}
USE_LIBTOOL= yes
INSTALLATION_DIRS+= lib/httpd
do-install:
${BUILDLINK_PREFIX.apache}/share/httpd/build/instdso.sh \
SH_LIBTOOL=${BUILDLINK_PREFIX.apache}/share/httpd/build/libtool \
${WRKSRC}/mod_limitipconn.la \
${DESTDIR}${PREFIX}/lib/httpd
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/mod_limitipconn
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/mod_limitipconn/
.include "../../www/apache22/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"