summaryrefslogtreecommitdiff
path: root/devel/bison
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2003-03-08 21:37:47 +0000
committerjmc <jmc@pkgsrc.org>2003-03-08 21:37:47 +0000
commit1ad9075a0d6993fa2899843364fcf996b6840fa6 (patch)
tree56e0b75f2e32f989f0e95589d5363e9ddaa44d62 /devel/bison
parent8bdf88aa4e80d84e44a7a70559e7b73e587fbddb (diff)
downloadpkgsrc-1ad9075a0d6993fa2899843364fcf996b6840fa6.tar.gz
Add a buildlink2 script for bison
Diffstat (limited to 'devel/bison')
-rw-r--r--devel/bison/buildlink2.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/bison/buildlink2.mk b/devel/bison/buildlink2.mk
new file mode 100644
index 00000000000..045391db492
--- /dev/null
+++ b/devel/bison/buildlink2.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink2.mk,v 1.1 2003/03/08 21:37:47 jmc Exp $
+
+.if !defined(BISON_BUILDLINK2_MK)
+BISON_BUILDLINK2_MK= # defined
+
+.include "../../mk/bsd.prefs.mk"
+
+BUILDLINK_PACKAGES+= bison
+BUILDLINK_PKGBASE.bison= bison
+BUILDLINK_DEPENDS.bison?= bison>=1.8
+BUILDLINK_PKGSRCDIR.bison?= ../../devel/bison
+BUILDLINK_DEPMETHOD.bison= build
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.bison=bison
+BUILDLINK_PREFIX.bison_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.bison= bin/bison
+
+BUILDLINK_TARGETS+= bison-buildlink
+
+bison-buildlink: _BUILDLINK_USE
+
+.endif # BISON_BUILDLINK2_MK