summaryrefslogtreecommitdiff
path: root/audio/musicbrainz
diff options
context:
space:
mode:
Diffstat (limited to 'audio/musicbrainz')
-rw-r--r--audio/musicbrainz/buildlink2.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/musicbrainz/buildlink2.mk b/audio/musicbrainz/buildlink2.mk
new file mode 100644
index 00000000000..1d851db80ba
--- /dev/null
+++ b/audio/musicbrainz/buildlink2.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:21:55 jlam Exp $
+
+.if !defined(MUSICBRAINZ_BUILDLINK2_MK)
+MUSICBRAINZ_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= musicbrainz
+BUILDLINK_DEPENDS.musicbrainz?= musicbrainz>=1.1.0
+BUILDLINK_PKGSRCDIR.musicbrainz?= ../../audio/musicbrainz
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.musicbrainz=musicbrainz
+BUILDLINK_PREFIX.musicbrainz_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.musicbrainz= include/musicbrainz/*
+BUILDLINK_FILES.musicbrainz+= include/musicbrainz/*/*
+BUILDLINK_FILES.musicbrainz+= lib/libmusicbrainz.*
+
+BUILDLINK_TARGETS+= musicbrainz-buildlink
+
+musicbrainz-buildlink: _BUILDLINK_USE
+
+.endif # MUSICBRAINZ_BUILDLINK2_MK