2002-03-21 16:25:50 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2002/03/21 21:25:54 espie Exp $
|
2001-07-15 18:52:45 -04:00
|
|
|
|
|
|
|
COMMENT= "transparently compress Apache output"
|
|
|
|
|
2001-08-12 23:27:09 -04:00
|
|
|
# This port currently only works with archs supporting dynamic loading
|
|
|
|
# and has Apache that supports DSO's.
|
2002-03-17 00:04:36 -05:00
|
|
|
ONLY_FOR_ARCHS= alpha i386 m68k powerpc sparc sparc64
|
2001-08-12 23:27:09 -04:00
|
|
|
|
2001-07-15 18:52:45 -04:00
|
|
|
VERSION= 1.3.19.1a
|
|
|
|
DISTNAME= mod_gzip.c
|
|
|
|
PKGNAME= mod_gzip-${VERSION}
|
|
|
|
CATEGORIES= www
|
2002-03-21 16:25:50 -05:00
|
|
|
NEED_VERSION= 1.515
|
2001-07-15 18:52:45 -04:00
|
|
|
MASTER_SITES= http://www.remotecommunications.com/apache/mod_gzip/src/${VERSION}/
|
2001-08-12 23:27:09 -04:00
|
|
|
EXTRACT_SUFX= .gz
|
2001-07-15 18:52:45 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.remotecommunications.com/apache/mod_gzip/
|
2001-08-12 23:27:09 -04:00
|
|
|
|
2001-07-15 18:52:45 -04:00
|
|
|
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2001-08-12 23:27:09 -04:00
|
|
|
SUBST_VARS= PKGNAME
|
2001-07-15 18:52:45 -04:00
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}
|
|
|
|
|
|
|
|
post-extract:
|
2001-08-12 23:27:09 -04:00
|
|
|
@cp -f ${FILESDIR}/Makefile.OpenBSD ${WRKSRC}/Makefile
|
2001-07-15 18:52:45 -04:00
|
|
|
|
|
|
|
post-build:
|
2001-08-12 23:27:09 -04:00
|
|
|
@sed 's,!!PREFIX!!,${PREFIX},' \
|
|
|
|
< ${FILESDIR}/mod_gzip-enable > ${WRKBUILD}/mod_gzip-enable
|
2001-07-15 18:52:45 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mod_gzip
|
2001-08-12 23:27:09 -04:00
|
|
|
${INSTALL_DATA} ${WRKBUILD}/mod_gzip.so ${PREFIX}/lib
|
|
|
|
${INSTALL_SCRIPT} ${WRKBUILD}/mod_gzip-enable ${PREFIX}/sbin
|
2001-07-15 18:52:45 -04:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/mod_gzip.conf.sample ${PREFIX}/share/examples/mod_gzip
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|