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