summaryrefslogtreecommitdiff
path: root/audio/libmikmod/buildlink2.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-08-25 19:21:43 +0000
committerjlam <jlam@pkgsrc.org>2002-08-25 19:21:43 +0000
commitefb93b17bd48d49105d00f52887445a53f7cd60b (patch)
treec69c41be2f3b44bedceeee7e348c2ae58c476c6a /audio/libmikmod/buildlink2.mk
parent653dc760d3901b3c7e67803c589352e8353a5030 (diff)
downloadpkgsrc-efb93b17bd48d49105d00f52887445a53f7cd60b.tar.gz
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
Diffstat (limited to 'audio/libmikmod/buildlink2.mk')
-rw-r--r--audio/libmikmod/buildlink2.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/audio/libmikmod/buildlink2.mk b/audio/libmikmod/buildlink2.mk
new file mode 100644
index 00000000000..6724f4a5af1
--- /dev/null
+++ b/audio/libmikmod/buildlink2.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:21:52 jlam Exp $
+
+.if !defined(LIBMIKMOD_BUILDLINK2_MK)
+LIBMIKMOD_BUILDLINK2_MK= # defined
+
+.include "../../mk/bsd.buildlink.mk"
+
+BUILDLINK_PACKAGES+= libmikmod
+BUILDLINK_DEPENDS.libmikmod?= libmikmod>=3.1.9
+BUILDLINK_PKGSRCDIR.libmikmod?= ../../audio/libmikmod
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libmikmod=libmikmod
+BUILDLINK_PREFIX.libmikmod_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.libmikmod= include/mikmod.h
+BUILDLINK_FILES.libmikmod+= lib/libmikmod.*
+
+BUILDLINK_TARGETS+= libmikmod-buildlink
+
+libmikmod-buildlink: _BUILDLINK_USE
+
+.endif # LIBMIKMOD_BUILDLINK2_MK