summaryrefslogtreecommitdiff
path: root/textproc/scrollkeeper/buildlink2.mk
blob: 42a5b9e6e9cc4d94befa94d508ed61d8ead65a71 (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
# $NetBSD: buildlink2.mk,v 1.2 2002/11/02 02:08:01 rh Exp $

.if !defined(SCROLLKEEPER_BUILDLINK2_MK)
SCROLLKEEPER_BUILDLINK2_MK=		# defined

BUILDLINK_PACKAGES+=			scrollkeeper
BUILDLINK_DEPENDS.scrollkeeper?=	scrollkeeper>=0.2
BUILDLINK_PKGSRCDIR.scrollkeeper?=	../../textproc/scrollkeeper

EVAL_PREFIX+=	BUILDLINK_PREFIX.scrollkeeper=scrollkeeper
BUILDLINK_PREFIX.scrollkeeper_DEFAULT=	${X11PREFIX}
BUILDLINK_FILES.scrollkeeper+=		lib/libscrollkeeper.*

BUILDLINK_TARGETS+=			scrollkeeper-buildlink

.if exists(${LOCALBASE}/libdata/scrollkeeper)
SCROLLKEEPER_DATADIR=			${LOCALBASE}/libdata
.else
SCROLLKEEPER_DATADIR=			${BUILDLINK_PREFIX.scrollkeeper}/var/lib
.endif

scrollkeeper-buildlink: _BUILDLINK_USE

.endif	# SCROLLKEEPER_BUILDLINK2_MK