diff options
author | James E. Housley <jeh@FreeBSD.org> | 2000-12-13 21:44:33 +0000 |
---|---|---|
committer | James E. Housley <jeh@FreeBSD.org> | 2000-12-13 21:44:33 +0000 |
commit | 1777c580eb9cf55cc08d55ee0a31f68e11381f14 (patch) | |
tree | f3094ef2b33bf9ed0d6fcc2db78422433dadf0e1 /www/mod_gzip2/Makefile | |
parent | c31a5e5669c9de76dede38ad563d382901616dc5 (diff) | |
download | ports-1777c580eb9cf55cc08d55ee0a31f68e11381f14.tar.gz ports-1777c580eb9cf55cc08d55ee0a31f68e11381f14.zip |
Notes
Diffstat (limited to 'www/mod_gzip2/Makefile')
-rw-r--r-- | www/mod_gzip2/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/www/mod_gzip2/Makefile b/www/mod_gzip2/Makefile new file mode 100644 index 000000000000..2233bc240d97 --- /dev/null +++ b/www/mod_gzip2/Makefile @@ -0,0 +1,44 @@ +# 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 + +.if !defined(NOPORTDOCS) +DISTFILES+= readme.txt +PLIST_SUB+= DOC='' + +post-install: + @${MKDIR} ${PREFIX}/share/doc/${PORTNAME} + @${INSTALL_DATA} ${_DISTDIR}/${DISTFILES:N*gz} \ + ${PREFIX}/share/doc/${PORTNAME} + +.else +PLIST_SUB+= DOC='@comment ' +.endif + +.include <bsd.port.mk> |