summaryrefslogtreecommitdiff
path: root/www/php4/buildlink2.mk
blob: 7bbfdcd7c062c30cffa1e6d93f4831344f1c19f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $NetBSD: buildlink2.mk,v 1.5 2003/11/08 06:58:10 jdolecek Exp $

.if !defined(PHP4_BUILDLINK2_MK)
PHP4_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		php4
BUILDLINK_DEPENDS.php4?=	php>=4.3.4
BUILDLINK_PKGSRCDIR.php4?=	../../www/php4

# This adds a build-dependency as php4 has no libraries.
BUILDLINK_DEPMETHOD.php4?=	build

EVAL_PREFIX+=			BUILDLINK_PREFIX.php4=php
BUILDLINK_PREFIX.php4_DEFAULT=	${LOCALBASE}
BUILDLINK_FILES.php4=		include/php/*/*/*.h
BUILDLINK_FILES.php4+=		include/php/*/*.h
BUILDLINK_FILES.php4+=		include/php/*.h

BUILDLINK_TARGETS+=		php4-buildlink

php4-buildlink: _BUILDLINK_USE

.endif	# PHP4_BUILDLINK2_MK