summaryrefslogtreecommitdiff
path: root/x11/neXtaw/buildlink3.mk
blob: 658b91245ea04eb0a54a5785d082dcdf5de0db6d (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
30
31
# $NetBSD: buildlink3.mk,v 1.17 2015/12/29 04:54:39 dholland Exp $

BUILDLINK_TREE+=	neXtaw

.if !defined(NEXTAW_BUILDLINK3_MK)
NEXTAW_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.neXtaw+=	neXtaw>=0.15.1
BUILDLINK_ABI_DEPENDS.neXtaw+=	neXtaw>=0.15.1nb2
BUILDLINK_PKGSRCDIR.neXtaw?=	../../x11/neXtaw

BUILDLINK_TRANSFORM+=		l:Xaw:neXtaw

.include "../../mk/bsd.fast.prefs.mk"

.if ${X11_TYPE} == "modular"
.PHONY: buildlink-neXtaw-inc-hack
buildlink-neXtaw-cookie: buildlink-neXtaw-inc-hack

buildlink-neXtaw-inc-hack: buildlink-directories
	[ ! -h ${BUILDLINK_DIR}/include/X11/Xaw ] && \
		${MKDIR} ${BUILDLINK_DIR}/include/X11 && \
		${LN} -s neXtaw ${BUILDLINK_DIR}/include/X11/Xaw
.endif

.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.endif # NEXTAW_BUILDLINK3_MK

BUILDLINK_TREE+=	-neXtaw