summaryrefslogtreecommitdiff
path: root/www/mod_zap/Makefile
blob: 56b9cb84f4a406b2d0b3e69e3f38e110f5345c45 (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
# 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.0
CATEGORIES=	www
MASTER_SITES=	http://ftp.indexdata.dk/pub/yaz/ \
		http://people.FreeBSD.org/~jeh/
DISTNAME=	zap-${PORTVERSION}

MAINTAINER=	dima@Chg.RU

BUILD_DEPENDS=	${LOCALBASE}/bin/yaz-config:${PORTSDIR}/net/yaz \
		${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
RUN_DEPENDS=	${LOCALBASE}/bin/yaz-config:${PORTSDIR}/net/yaz \
		${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-yazconfig=${LOCALBASE}/bin \
		--with-apxs=${LOCALBASE}/sbin/apxs

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

.include <bsd.port.mk>