summaryrefslogtreecommitdiff
path: root/textproc/eb/buildlink2.mk
blob: 208aab4e2a26291861622607f2a7a2d5aa6816ec (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.2 2002/08/25 18:40:00 jlam 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.2.2
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