ports/www/mod_gzip/Makefile
Will Andrews 5ccbc2a8ac Update to sync with bsd.port.mk rev 1.361 - use PORTDOCS that is now in
bsd.port.mk, for easy removal of documentation.  I left alone one port -
japanese/elisa8x8 (or something like that), because it appeared to have
some rather weird way of doing PORTDOCS substitution.
2001-01-16 19:08:45 +00:00

38 lines
917 B
Makefile

# 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
PORTVERSION= 1.3.14.6e
CATEGORIES= www
MASTER_SITES= http://12.17.228.52/mod_gzip/src/${PORTVERSION}/
DISTFILES= ${PORTNAME}.c.gz
EXTRACT_ONLY= ${DISTFILES:M*.gz}
MAINTAINER= mi@aldan.algebra.com
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
NO_WRKSUBDIR= YES
DIST_SUBDIR= ${PORTNAME}
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
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
@${INSTALL_DATA} ${_DISTDIR}/${DISTFILES:N*gz} \
${PREFIX}/share/doc/${PORTNAME}
.endif
.include <bsd.port.mk>