blob: 1919753cabf57c92e13501b598b0beccb6f85632 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $NetBSD: Makefile,v 1.3 2002/08/01 02:37:41 jschauma Exp $
#
DISTNAME= mod_gzip.c
PKGNAME= ap-gzip-${VERSION}
CATEGORIES= www
MASTER_SITES= http://www.remotecommunications.com/apache/mod_gzip/src/${VERSION}/
EXTRACT_SUFX= .gz
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} changes.txt commands.txt samples.txt
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.remotecommunications.com/apache/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"
VERSION= 1.3.19.1a
DIST_SUBDIR= ${PKGNAME}
EXTRACT_CMD= ${GZIP_CMD} -dc >${WRKDIR}/${DISTNAME} ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
WRKSRC= ${WRKDIR}
do-build:
@cd ${WRKSRC} && ${PREFIX}/sbin/apxs -c -o mod_gzip.so *.c
do-install:
@cd ${WRKSRC} && ${PREFIX}/sbin/apxs -i mod_gzip.so
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_gzip
${INSTALL_DATA} ${_DISTDIR}/*.txt ${PREFIX}/share/doc/mod_gzip/
.include "../../mk/bsd.pkg.mk"
|