summaryrefslogtreecommitdiff
path: root/www/ap-php3/Makefile
blob: 80f319506e1de3878290934c5e4269ea490bbcaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $NetBSD: Makefile,v 1.11 2002/10/09 11:55:54 wiz Exp $
#

PKGNAME=		ap-php-${BASE_VERS}
PKGREVISION=		1
COMMENT=		Apache module for PHP3

USE_BUILDLINK2=		yes

.include "../../www/php3/Makefile.common"

DEPENDS+=		php>=${BASE_VERS}:../../www/php3
DEPENDS+=		${BUILDLINK_DEPENDS.apache}:../../www/apache

CPPFLAGS+=		-DPHP_INTERNAL_FUNCS

do-install:
	${INSTALL_DATA} ${WRKSRC}/libphp3.so ${PREFIX}/lib/httpd/mod_php3.so

.include "../../www/apache/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"