1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/www/mod_gzip/Makefile

40 lines
902 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.26.1a
CATEGORIES= www
MASTER_SITES= SF/mod-gzip/mod-gzip13x/${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ale@FreeBSD.org
COMMENT= An Internet Content Acceleration module for Apache
MAKE_JOBS_SAFE= yes
USE_APACHE= 1.3
MAKE_ENV+= "APXS=${APXS}"
ALL_TARGET= build
post-patch:
@${REINPLACE_CMD} 's|-Wc,-Wall,-O3,-fomit-frame-pointer,-pipe||' \
${WRKSRC}/Makefile
PORTEXAMPLES= ${PORTNAME}.conf.sample
post-install:
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}/
@${INSTALL_DATA} ${WRKSRC}/docs/${PORTNAME}.conf.sample ${EXAMPLESDIR}/
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/
@${INSTALL_DATA} ${WRKSRC}/docs/manual/english/* ${DOCSDIR}/
.endif
.include <bsd.port.mk>