pkgsrc/www/php4/buildlink2.mk
jlam e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00

23 lines
633 B
Makefile

# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:40:25 jlam Exp $
.if !defined(PHP4_BUILDLINK2_MK)
PHP4_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= php4
BUILDLINK_DEPENDS.php4?= php>=4.1.0
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