summaryrefslogtreecommitdiff
path: root/editors/mule-ucs/buildlink3.mk
blob: 7c994a4bdb2e771bbf3d7208447acad48f94478a (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
32
# $NetBSD: buildlink3.mk,v 1.1 2007/10/29 12:41:17 uebayasi Exp $
#

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
MULE_UCS_BUILDLINK3_MK:=	${MULE_UCS_BUILDLINK3_MK}+

#
# Only for older GNU Emacs.  Emacs 22 or later doesn't need this because it
# incorporated Unicode support.
#

.include "../../mk/emacs.mk"
.if ${EMACS_FLAVOR} == "emacs" && ${EMACS_VERSION_MAJOR} < 22

.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+=	mule-ucs
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nmule-ucs}
BUILDLINK_PACKAGES+=	mule-ucs
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mule-ucs

.if ${MULE_UCS_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.mule-ucs+=	${EMACS_PKGNAME_PREFIX}Mule-UCS>=0.84
BUILDLINK_PKGSRCDIR.mule-ucs?=	../../editors/mule-ucs
.endif	# MULE_UCS_BUILDLINK3_MK

BUILDLINK_CONTENTS_FILTER.mule-ucs=	${EGREP} '.*\.el$$|.*\.elc$$'

.endif

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