summaryrefslogtreecommitdiff
path: root/www/ap-php3/Makefile
blob: ba7f5f12aad7b4dd1b2f57b9fb2221ea4b209255 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: Makefile,v 1.1.1.1 1999/05/03 19:51:26 tv Exp $
#

PKGNAME=	ap-${DISTNAME}

FILESDIR=	${PKGSRCDIR}/www/php3/files
PATCHDIR=	${PKGSRCDIR}/www/php3/patches

DEPENDS+=	apache-1.3.6p0:../../www/apache

USE_PERL5=	yes

CONFIGURE_ARGS+=--with-apxs=${LOCALBASE}/sbin/apxs
CONFIGURE_ENV+=	PERL_PATH=${LOCALBASE}/bin/perl

BUILDING_SERVER_MODULE=yes

do-install:
	@cd ${WRKSRC} && ${CP} libphp3.so mod_php3.so
	@${PREFIX}/sbin/apxs -i ${WRKSRC}/mod_php3.so

.include "../php3/Makefile"