summaryrefslogtreecommitdiff
path: root/editors/xemacs/buildlink3.mk
blob: 86aa153951044565e4827640580d380918c3e05e (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: buildlink3.mk,v 1.2 2008/10/11 09:31:56 uebayasi Exp $
#

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
XEMACS_BUILDLINK3_MK:=	${XEMACS_BUILDLINK3_MK}+

.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+=	xemacs
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nxemacs}
BUILDLINK_PACKAGES+=	xemacs
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xemacs

.if ${XEMACS_BUILDLINK3_MK} == "+"
.include "../../editors/emacs/modules.mk"
BUILDLINK_API_DEPENDS.xemacs+=	${_EMACS_REQD}
BUILDLINK_PKGSRCDIR.xemacs?=	${_EMACS_PKGDIR}
.endif	# XEMACS_BUILDLINK3_MK

BUILDLINK_CONTENTS_FILTER.xemacs=	${EGREP} '.*\.el$$|.*\.elc$$'

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH:S/+$//}