summaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authorwulf <wulf>2003-07-02 10:24:12 +0000
committerwulf <wulf>2003-07-02 10:24:12 +0000
commit62b4a250fb14d315d7252d1d0dab6a9ad45f5e35 (patch)
tree91006a8219efa15ca395e0a0e630914ded123f65 /ham
parent7d21c9653c08c94eb00bf45cc078eddc1be5c6a5 (diff)
downloadpkgsrc-62b4a250fb14d315d7252d1d0dab6a9ad45f5e35.tar.gz
Added buildlink2.mk file to hamlib-1.1.4 package for use with other
packages that depend on this library
Diffstat (limited to 'ham')
-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