[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / ap-throttle

File: [cvs.NetBSD.org] / pkgsrc / www / ap-throttle / Attic / Makefile (download)

Revision 1.13, Fri Jun 2 18:27:59 2006 UTC (17 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.12: +4 -3 lines

Rename all PHP 4 packages to php4-*, all PHP 5 packages to php5-*,
all PEAR packages to php?-pear-* and all Apache packages to ap13-* or
ap2-* respectively. Add new variables to simplify the Makefile
handling. Add CONFLICTS on the old names. Reset revisions of bumped
packages. ap-php will now depend on the default Apache and PHP version.
All programs using it have an implicit option of the Apache version
as well.

OK from jlam@ and adrianp@.

# $NetBSD: Makefile,v 1.13 2006/06/02 18:27:59 joerg Exp $

DISTNAME=	mod_throttle312
PKGNAME=	ap13-throttle-3.1.2
CATEGORIES=	www
MASTER_SITES=	http://www.snert.com/Software/mod_throttle/
EXTRACT_SUFX=	.tgz

MAINTAINER=	eric@cirr.com
HOMEPAGE=	${MASTER_SITES}
COMMENT=	Apache module for limiting bandwidth usage

CONFLICTS=	ap-throttle-[0-9]*

WRKSRC=         ${WRKDIR}/${PKGNAME_NOREV:S/ap-/mod_/}

APACHE_MODULE_NAME=	mod_throttle.so
APACHE_MODULE_SRC=	mod_throttle.c

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_throttle
	${INSTALL_DATA} ${WRKSRC}/index.shtml \
			${PREFIX}/share/doc/mod_throttle/index.html

.include "../../www/apache/module.mk"
.include "../../mk/bsd.pkg.mk"