summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwulf <wulf@pkgsrc.org>2003-07-02 10:24:12 +0000
committerwulf <wulf@pkgsrc.org>2003-07-02 10:24:12 +0000
commit817080dc1b9713fd00c3b12865d101a9118f4ef1 (patch)
tree91006a8219efa15ca395e0a0e630914ded123f65
parentc55f22dcf17e8eced9e0fa563849f149a2587822 (diff)
downloadpkgsrc-817080dc1b9713fd00c3b12865d101a9118f4ef1.tar.gz
Added buildlink2.mk file to hamlib-1.1.4 package for use with other
packages that depend on this library
-rw-r--r--ham/hamlib/buildlink2.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/ham/hamlib/buildlink2.mk b/ham/hamlib/buildlink2.mk
new file mode 100644
index 00000000000..17d1b31e038
--- /dev/null
+++ b/ham/hamlib/buildlink2.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink2.mk,v 1.1 2003/07/02 10:24:12 wulf Exp $
+
+.if !defined(HAMLIB_BUILDLINK2_MK)
+HAMLIB_BUILDLINK2_MK= # defined
+
+.include "../../mk/bsd.prefs.mk"
+
+BUILDLINK_PACKAGES+= hamlib
+BUILDLINK_PKGBASE.hamlib= hamlib
+BUILDLINK_DEPENDS.hamlib?= hamlib>=1.1.4
+BUILDLINK_PKGSRCDIR.hamlib?= ../../ham/hamlib
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.hamlib=hamlib
+BUILDLINK_PREFIX.hamblib_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.hamlib+= include/hamlib/*.h
+BUILDLINK_FILES.hamlib+= lib/libhamlib.*
+
+BUILDLINK_TARGETS+= hamlib-buildlink
+
+hamlib-buildlink: _BUILDLINK_USE
+
+.endif # HAMLIB_BUILDLINK2_MK