PR: 42929 Submitted by: Thomas Hurst <freaky@aagh.net> Approved by: Alex Dupre <sysadmin@alexdupre.com> (maintainer)
33 lines
777 B
Makefile
33 lines
777 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= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= mod-gzip
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= sysadmin@alexdupre.com
|
|
|
|
BUILD_DEPENDS= ${APXS}:${APACHE_PORT}
|
|
RUN_DEPENDS= ${APXS}:${APACHE_PORT}
|
|
|
|
APXS?= ${LOCALBASE}/sbin/apxs
|
|
APACHE_PORT?= ${PORTSDIR}/www/apache13
|
|
MAKE_ENV+= "APXS=${APXS}"
|
|
ALL_TARGET= build
|
|
|
|
post-install:
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/docs/mod_gzip.conf.sample ${EXAMPLESDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/docs/manual/english/* ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|