diff options
author | grant <grant> | 2003-02-17 17:52:02 +0000 |
---|---|---|
committer | grant <grant> | 2003-02-17 17:52:02 +0000 |
commit | 0fdb1ebdf2a36a30c451acec3e304070dd5193a5 (patch) | |
tree | beb640944452c4e660f2dbdd249cd98582031166 /www/ap-gzip | |
parent | 6545a509b51495fb7a37e49a4097b2bdeb03369c (diff) | |
download | pkgsrc-0fdb1ebdf2a36a30c451acec3e304070dd5193a5.tar.gz |
use apache/module.mk.
Diffstat (limited to 'www/ap-gzip')
-rw-r--r-- | www/ap-gzip/Makefile | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/www/ap-gzip/Makefile b/www/ap-gzip/Makefile index 11319ef6d14..83d9b619e22 100644 --- a/www/ap-gzip/Makefile +++ b/www/ap-gzip/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2002/10/22 12:46:42 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2003/02/17 17:52:02 grant Exp $ # -DISTNAME= mod_gzip-${VERSION} -PKGNAME= ap-gzip-${VERSION} +DISTNAME= mod_gzip-1.3.26.1a +PKGNAME= ${DISTNAME:C|mod_|ap-|} CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mod-gzip/} EXTRACT_SUFX= .tgz @@ -11,16 +11,12 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.sourceforge.net/projects/mod-gzip/ COMMENT= On-the-fly GZIP compression for Apache 1.3.x -DEPENDS+= apache{,6}-1.3.*:../../www/apache -USE_PERL5= build # for "apxs" +USE_BUILDLINK2= YES -VERSION= 1.3.26.1a +APACHE_MODULE_NAME= mod_gzip.so +APACHE_MODULE_SRC= *.c -do-build: - @cd ${WRKSRC} && ${PREFIX}/sbin/apxs -c -o mod_gzip.so *.c - -do-install: - @cd ${WRKSRC} && ${PREFIX}/sbin/apxs -i mod_gzip.so +post-install: ${INSTALL_DATA_DIR} \ ${PREFIX}/share/doc/mod_gzip \ ${PREFIX}/share/doc/mod_gzip/de \ @@ -33,4 +29,5 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/docs/mod_gzip.conf.sample \ ${PREFIX}/share/examples/mod_gzip/httpd.conf +.include "../../www/apache/module.mk" .include "../../mk/bsd.pkg.mk" |