summaryrefslogtreecommitdiff
path: root/textproc/eb/buildlink2.mk
blob: bacee91eb2f97037229bb30fdba8b3e0634eb169 (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
# $NetBSD: buildlink2.mk,v 1.3 2003/07/13 13:53:31 wiz Exp $

.if !defined(EB_BUILDLINK2_MK)
EB_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		eb

# eb<=3.2.1 packages didn't fix eb.conf.
BUILDLINK_DEPENDS.eb?=		eb>=3.3.2nb1
BUILDLINK_PKGSRCDIR.eb?=	../../textproc/eb

EVAL_PREFIX+=			BUILDLINK_PREFIX.eb=eb
BUILDLINK_PREFIX.eb_DEFAULT?=	${LOCALBASE}

BUILDLINK_FILES.eb=	include/eb/*.h
BUILDLINK_FILES.eb+=	lib/libeb.*

.if defined(GNU_CONFIGURE)
CONFIGURE_ARGS+=	--with-eb-conf=${PKG_SYSCONFDIR}/eb.conf
.endif

BUILDLINK_TARGETS+=	eb-buildlink

eb-buildlink: _BUILDLINK_USE

.endif	# EB_BUILDLINK2_MK