2008-06-30 04:54:04 +00:00
|
|
|
# New ports collection makefile for: mod_gzip2 Apache module
|
|
|
|
# Date created: 2008-06-27
|
|
|
|
# Whom: Stefan `Sec` Zehl <sec@42.org>
|
2000-12-13 21:44:33 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2008-06-30 04:54:04 +00:00
|
|
|
PORTNAME= mod_gzip2
|
|
|
|
PORTVERSION= 2.1.0
|
2008-07-23 02:00:35 +00:00
|
|
|
PORTREVISION= 1
|
2000-12-13 21:44:33 +00:00
|
|
|
CATEGORIES= www
|
2008-06-30 04:54:04 +00:00
|
|
|
MASTER_SITES= http://www.gknw.net/development/apache/httpd-2.0/unix/modules/
|
|
|
|
DISTNAME= mod_gzip-${PORTVERSION}
|
2000-12-13 21:44:33 +00:00
|
|
|
|
2008-06-30 04:54:04 +00:00
|
|
|
MAINTAINER= sec@42.org
|
|
|
|
COMMENT= An Internet Content Acceleration module for Apache2+
|
2000-12-13 21:44:33 +00:00
|
|
|
|
2009-05-21 20:45:34 +00:00
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
2012-08-18 14:29:08 +00:00
|
|
|
USE_APACHE= 22+
|
2008-06-30 04:54:04 +00:00
|
|
|
AP_FAST_BUILD= yes
|
|
|
|
AP_GENPLIST= yes
|
2003-01-08 17:44:47 +00:00
|
|
|
MAKE_ENV+= "APXS=${APXS}"
|
2008-06-30 04:54:04 +00:00
|
|
|
USE_GMAKE= yes
|
2000-12-13 21:44:33 +00:00
|
|
|
|
2008-07-23 02:00:35 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PLIST_FILES= ${DOCSDIR:S/${PREFIX}\///}/commands.txt
|
|
|
|
PLIST_FILES+= ${DOCSDIR:S/${PREFIX}\///}/samples.txt
|
|
|
|
PLIST_DIRS= ${DOCSDIR:S/${PREFIX}\///}
|
|
|
|
.endif
|
|
|
|
PLIST_FILES+= share/examples/mod_gzip2/mod_gzip2.conf.sample
|
|
|
|
PLIST_DIRS+= share/examples/mod_gzip2
|
|
|
|
|
2006-12-10 14:33:34 +00:00
|
|
|
post-patch:
|
2008-06-30 04:54:04 +00:00
|
|
|
@${MV} ${WRKSRC}/mod_gzip.c ${WRKSRC}/${PORTNAME}.c
|
2006-12-10 14:33:34 +00:00
|
|
|
|
2003-01-01 20:28:49 +00:00
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2008-06-30 04:54:04 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/my_cfg.txt ${EXAMPLESDIR}/mod_gzip2.conf.sample
|
2003-01-01 20:28:49 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2008-06-30 04:54:04 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/commands.txt ${WRKSRC}/samples.txt ${DOCSDIR}
|
2003-01-01 20:28:49 +00:00
|
|
|
.endif
|
|
|
|
|
2000-12-13 21:44:33 +00:00
|
|
|
.include <bsd.port.mk>
|