summaryrefslogtreecommitdiff
path: root/editors/sam/buildlink2.mk
blob: bc4f7ffb9d4511debe55185f247eac0d009ceae2 (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: buildlink2.mk,v 1.2 2002/08/25 18:38:53 jlam Exp $

.if !defined(SAM_BUILDLINK2_MK)
SAM_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		sam
BUILDLINK_DEPENDS.sam?=		sam>=4.3nb1
BUILDLINK_PKGSRCDIR.sam?=	../../editors/sam

# This adds a build-dependency as sam only has static libraries.
BUILDLINK_DEPMETHOD.sam?=	build

EVAL_PREFIX+=	BUILDLINK_PREFIX.sam=sam
BUILDLINK_PREFIX.sam_DEFAULT=	${LOCALBASE}
BUILDLINK_FILES.sam=	include/sam/*
BUILDLINK_FILES.sam+=	lib/libXg.a
BUILDLINK_FILES.sam+=	lib/libframe.a

BUILDLINK_TARGETS+=	sam-buildlink

sam-buildlink: _BUILDLINK_USE

.endif	# SAM_BUILDLINK2_MK