2000-12-13 21:44:33 +00:00
|
|
|
# New ports collection makefile for: mod_gzip Apache module
|
|
|
|
# Date created: Dec 13 2000
|
|
|
|
# Whom: Mikhail Teterin <mi@aldan.algebra.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mod_gzip
|
2001-05-08 15:29:26 +00:00
|
|
|
PORTVERSION= 1.3.19.1a
|
2000-12-13 21:44:33 +00:00
|
|
|
CATEGORIES= www
|
2001-05-08 15:29:26 +00:00
|
|
|
MASTER_SITES= http://www.remotecommunications.com/apache/mod_gzip/src/${PORTVERSION}/
|
2000-12-13 21:44:33 +00:00
|
|
|
DISTFILES= ${PORTNAME}.c.gz
|
|
|
|
EXTRACT_ONLY= ${DISTFILES:M*.gz}
|
|
|
|
|
2001-05-08 15:29:26 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2000-12-13 21:44:33 +00:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
|
|
|
|
|
2001-02-03 20:41:26 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-05-08 15:29:26 +00:00
|
|
|
DISTFILES+= changes.txt commands.txt samples.txt
|
2001-02-03 20:41:26 +00:00
|
|
|
.endif
|
|
|
|
|
2000-12-13 21:44:33 +00:00
|
|
|
NO_WRKSUBDIR= YES
|
|
|
|
|
2001-05-08 15:32:16 +00:00
|
|
|
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
|
2000-12-13 21:44:33 +00:00
|
|
|
EXTRACT_AFTER_ARGS= > ${PORTNAME}.c
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -c ${PORTNAME}.c
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -A -i ${PORTNAME}.so
|
|
|
|
|
2001-01-16 19:08:45 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-05-08 15:39:47 +00:00
|
|
|
post-install:
|
2000-12-13 21:44:33 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
|
2001-05-08 15:39:47 +00:00
|
|
|
@cd ${_DISTDIR} && ${INSTALL_DATA} ${DISTFILES:N*gz} \
|
2000-12-13 21:44:33 +00:00
|
|
|
${PREFIX}/share/doc/${PORTNAME}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|