summaryrefslogtreecommitdiff
path: root/textproc/opensp
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-09-23 06:59:24 +0000
committerwiz <wiz@pkgsrc.org>2003-09-23 06:59:24 +0000
commit47abc6833615029efd4f24f9e964bdb1d6583181 (patch)
tree49cefd89ec3bb54841a3eb6df64a7be993e367fc /textproc/opensp
parent33ded8ed84620e0586b5a3ca46284bae5aa3036b (diff)
downloadpkgsrc-47abc6833615029efd4f24f9e964bdb1d6583181.tar.gz
Add buildlink2.mk.
Diffstat (limited to 'textproc/opensp')
-rw-r--r--textproc/opensp/buildlink2.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/textproc/opensp/buildlink2.mk b/textproc/opensp/buildlink2.mk
new file mode 100644
index 00000000000..d281e20a89b
--- /dev/null
+++ b/textproc/opensp/buildlink2.mk
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink2.mk,v 1.1 2003/09/23 06:59:24 wiz Exp $
+#
+# This Makefile fragment is included by packages that use opensp.
+#
+
+.if !defined(OPENSP_BUILDLINK2_MK)
+OPENSP_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= opensp
+BUILDLINK_DEPENDS.opensp?= opensp>=1.5nb1
+BUILDLINK_PKGSRCDIR.opensp?= ../../textproc/opensp
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.opensp=opensp
+BUILDLINK_PREFIX.opensp_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.opensp+= include/OpenSP/*.cxx
+BUILDLINK_FILES.opensp+= include/OpenSP/*.h
+BUILDLINK_FILES.opensp+= lib/libosp.*
+
+.include "../../devel/gettext-lib/buildlink2.mk"
+
+BUILDLINK_TARGETS+= opensp-buildlink
+
+opensp-buildlink: _BUILDLINK_USE
+
+.endif # OPENSP_BUILDLINK2_MK