1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/www/mod_gzip2/Makefile
Mathieu Arnold 4a3bebcae1 Add EXAMPLES options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:15:47 +00:00

36 lines
856 B
Makefile

# Created by: Stefan `Sec` Zehl <sec@42.org>
# $FreeBSD$
PORTNAME= mod_gzip2
PORTVERSION= 2.1.0
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.gknw.net/development/apache/httpd-2.0/unix/modules/
DISTNAME= mod_gzip-${PORTVERSION}
MAINTAINER= sec@42.org
COMMENT= Apache 2.x Internet Content Acceleration module
#LICENSE= AL11
AP_FAST_BUILD= yes
AP_GENPLIST= yes
MAKE_ENV+= "APXS=${APXS}"
USES= apache:2.2+ gmake
PORTDOCS= commands.txt samples.txt
PORTEXAMPLES= mod_gzip2.conf.sample
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${MV} ${WRKSRC}/mod_gzip.c ${WRKSRC}/${PORTNAME}.c
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/my_cfg.txt ${STAGEDIR}${EXAMPLESDIR}/mod_gzip2.conf.sample
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>