summaryrefslogtreecommitdiff
path: root/lang/blackdown-jdk13/buildlink2.mk
blob: 5fa2855c1c9b6f013097e5af4547e7eccca6adcb (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
# $NetBSD: buildlink2.mk,v 1.2 2002/10/13 08:19:54 jlam Exp $

.if !defined(BLACKDOWN_JDK13_BUILDLINK2_MK)
BLACKDOWN_JDK13_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=			blackdown-jdk13
BUILDLINK_PKGBASE.blackdown-jdk13?=	blackdown-jdk13
BUILDLINK_DEPENDS.blackdown-jdk13?=	blackdown-jdk13-[0-9]*
BUILDLINK_PKGSRCDIR.blackdown-jdk13?=	../../lang/blackdown-jdk13
BUILDLINK_DEPMETHOD.blackdown-jdk13?=	build

BUILDLINK_PREFIX.blackdown-jdk13=	${LOCALBASE}
BUILDLINK_FILES_CMD.blackdown-jdk13= \
	${BUILDLINK_PLIST_CMD.blackdown-jdk13} |			\
		${GREP} '\(include.*/\|lib.*/lib[^/]*$$\)' |		\
		${SED} "s,^,$${pkg_prefix},"

BUILDLINK_CPPFLAGS.blackdown-jdk13= \
	-I${BUILDLINK_JAVA_PREFIX.blackdown-jre13}/include		\
	-I${BUILDLINK_JAVA_PREFIX.blackdown-jre13}/include/linux

.include "../../lang/blackdown-jre13/buildlink2.mk"

BUILDLINK_TARGETS+=	blackdown-jdk13-buildlink

blackdown-jdk13-buildlink: _BUILDLINK_USE

.endif	# BLACKDOWN_JDK13_BUILDLINK2_MK