summaryrefslogtreecommitdiff
path: root/www/mod_zap/Makefile
blob: 39f74bcadbe2d4b6774ff0a7934d3f16416c9b21 (plain) (blame)
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
32
# New ports collection makefile for:	mod_zap Apache module
# Date created:		20 Sep 2000
# Whom:			Dmitry Sivachenko <dima@Chg.RU>
#
# $FreeBSD$
#

PORTNAME=	mod_zap
PORTVERSION=	1.1
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	http://ftp.indexdata.dk/pub/zap/
DISTNAME=	zap-${PORTVERSION}

MAINTAINER=	demon@FreeBSD.org

BUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 \
		${LOCALBASE}/bin/tclsh8.3:${PORTSDIR}/lang/tcl83
LIB_DEPENDS=	yaz.1:${PORTSDIR}/net/yaz
RUN_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 \
		${LOCALBASE}/bin/tclsh8.3:${PORTSDIR}/lang/tcl83

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-yazconfig=${LOCALBASE}/bin \
		--with-apxs=${LOCALBASE}/sbin/apxs \
		--with-tclconfig=${LOCALBASE}/lib/tcl8.3

post-install:
		@${MKDIR} ${PREFIX}/share/mod_zap
		@${INSTALL_DATA} ${WRKSRC}/htdocs/zap/* ${PREFIX}/share/mod_zap

.include <bsd.port.mk>