pkgsrc/editors/sam/buildlink2.mk
jlam e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00

23 lines
613 B
Makefile

# $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