summaryrefslogtreecommitdiff
path: root/lang/librep
diff options
context:
space:
mode:
authorwiz <wiz>2002-10-08 13:12:25 +0000
committerwiz <wiz>2002-10-08 13:12:25 +0000
commite7486df830732115d233fcf5141f25cd7d3ae2fd (patch)
tree6cd5f7bce118bd4aeb16daf01dd6a5af920ad176 /lang/librep
parentf890e39e420a5cbaa269cdf142cb5e4b1969a3e2 (diff)
downloadpkgsrc-e7486df830732115d233fcf5141f25cd7d3ae2fd.tar.gz
Add buildlink2.mk
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