summaryrefslogtreecommitdiffstats
path: root/www/mod_bunzip2/Makefile
blob: 18c3da83efa76280650f9e0e485c7cb728d39784 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# New ports collection makefile for:	mod_bunzip2
# Date created:		26 January 2002
# Whom:			Tilman Linneweh <arved@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=		mod_bunzip2
PORTVERSION=		1
CATEGORIES=		www
MASTER_SITES=		http://www.oldach.net/
DISTNAME=		${PORTNAME}

MAINTAINER=		mod_bunzip2@oldach.net
COMMENT=	Apache module for server-side decompression of bzip2 files

BUILD_DEPENDS=	${APXS}:${APACHE_PORT}
RUN_DEPENDS=	${APXS}:${APACHE_PORT}

USE_BZIP2=		yes
WRKSRC=			${WRKDIR}/${PORTNAME}-2
APXS?=			${LOCALBASE}/sbin/apxs
APACHE_PORT?=		${PORTSDIR}/www/apache13

do-build:
	cd ${WRKSRC}; ${APXS} -c -lbz2 mod_bunzip2.c

do-install:
	${INSTALL_DATA} ${WRKSRC}/mod_bunzip2.so ${PREFIX}/libexec/apache/
	${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud