summaryrefslogtreecommitdiff
path: root/lang/librep
diff options
context:
space:
mode:
Diffstat (limited to 'lang/librep')
-rw-r--r--lang/librep/buildlink2.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/lang/librep/buildlink2.mk b/lang/librep/buildlink2.mk
new file mode 100644
index 00000000000..f2e2ce0b86e
--- /dev/null
+++ b/lang/librep/buildlink2.mk
@@ -0,0 +1,27 @@
+# $NetBSD: buildlink2.mk,v 1.1 2002/10/08 13:12:25 wiz Exp $
+#
+
+.if !defined(LIBREP_BUILDLINK2_MK)
+LIBREP_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= librep
+BUILDLINK_DEPENDS.librep?= librep>=0.15.1nb1
+BUILDLINK_PKGSRCDIR.librep?= ../../lang/librep
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.librep=librep
+BUILDLINK_PREFIX.librep_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.librep+= include/rep.h
+BUILDLINK_FILES.librep+= include/rep_lisp.h
+BUILDLINK_FILES.librep+= include/rep_regexp.h
+BUILDLINK_FILES.librep+= include/rep_subrs.h
+BUILDLINK_FILES.librep+= lib/librep.*
+BUILDLINK_FILES.librep+= libexec/rep/${MACHINE_GNU_PLATFORM}/rep_config.h
+
+.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../devel/gmp/buildlink2.mk"
+
+BUILDLINK_TARGETS+= librep-buildlink
+
+librep-buildlink: _BUILDLINK_USE
+
+.endif # LIBREP_BUILDLINK2_MK