blob: 7142545642b2e7da869a11b12a98650954dced71 (
plain)
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
|
# $NetBSD: buildlink2.mk,v 1.1 2002/12/19 12:46:30 abs Exp $
.if !defined(WONKA_BUILDLINK2_MK)
WONKA_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= wonka
BUILDLINK_PKGBASE.wonka?= wonka
BUILDLINK_DEPENDS.wonka?= wonka-[0-9]*
BUILDLINK_PKGSRCDIR.wonka?= ../../lang/wonka
BUILDLINK_PREFIX.wonka= ${LOCALBASE}
BUILDLINK_FILES_CMD.wonka= \
${BUILDLINK_PLIST_CMD.wonka} | \
${GREP} '\(include.*/\|lib.*/lib[^/]*$$\)' | \
${SED} "s,^,$${pkg_prefix},"
EVAL_PREFIX+= BUILDLINK_JAVA_PREFIX.wonka=wonka
BUILDLINK_JAVA_PREFIX.wonka_DEFAULT= \
${BUILDLINK_PREFIX.wonka}/java/wonka
BUILDLINK_CPPFLAGS.wonka= \
-I${BUILDLINK_JAVA_PREFIX.wonka}/include \
-I${BUILDLINK_JAVA_PREFIX.wonka}/include/wonka
BUILDLINK_TARGETS+= wonka-buildlink
wonka-buildlink: _BUILDLINK_USE
.endif # WONKA_BUILDLINK2_MK
|