diff options
author | snj <snj> | 2004-04-18 04:19:49 +0000 |
---|---|---|
committer | snj <snj> | 2004-04-18 04:19:49 +0000 |
commit | 650d6e7846eaf1a549413069224e60a6d7d7ead8 (patch) | |
tree | d8802c39be3adff7cf23d60ab0f900b504579ad1 /editors | |
parent | 121c9fa9c4347c73c4b25194f6419f78d72a9706 (diff) | |
download | pkgsrc-650d6e7846eaf1a549413069224e60a6d7d7ead8.tar.gz |
Convert to buildlink3.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/sam/buildlink2.mk | 23 | ||||
-rw-r--r-- | editors/sam/buildlink3.mk | 19 |
2 files changed, 19 insertions, 23 deletions
diff --git a/editors/sam/buildlink2.mk b/editors/sam/buildlink2.mk deleted file mode 100644 index bc4f7ffb9d4..00000000000 --- a/editors/sam/buildlink2.mk +++ /dev/null @@ -1,23 +0,0 @@ -# $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 diff --git a/editors/sam/buildlink3.mk b/editors/sam/buildlink3.mk new file mode 100644 index 00000000000..506560858f2 --- /dev/null +++ b/editors/sam/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/04/18 04:19:49 snj Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +SAM_BUILDLINK3_MK:= ${SAM_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= sam +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsam} +BUILDLINK_PACKAGES+= sam + +.if !empty(SAM_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.sam+= sam>=4.3nb1 +BUILDLINK_PKGSRCDIR.sam?= ../../editors/sam +BUILDLINK_DEPMETHOD.sam?= build +.endif # SAM_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |