summaryrefslogtreecommitdiff
path: root/devel/pwlib
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-12-23 15:05:10 +0000
committerwiz <wiz@pkgsrc.org>2002-12-23 15:05:10 +0000
commit72c8c78908719cb5c8aa5af19a828ce5d1619815 (patch)
tree64426c1b4fa585c9303bfec2ccde26c707e0ce22 /devel/pwlib
parentdb5abc6f54d1378052c64486eda7d503b0e861e6 (diff)
downloadpkgsrc-72c8c78908719cb5c8aa5af19a828ce5d1619815.tar.gz
Add buildlink2.mk.
Diffstat (limited to 'devel/pwlib')
-rw-r--r--devel/pwlib/buildlink2.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/devel/pwlib/buildlink2.mk b/devel/pwlib/buildlink2.mk
new file mode 100644
index 00000000000..a2269c6cb1f
--- /dev/null
+++ b/devel/pwlib/buildlink2.mk
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink2.mk,v 1.1 2002/12/23 15:05:10 wiz Exp $
+#
+
+.if !defined(PWLIB_BUILDLINK2_MK)
+PWLIB_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= pwlib
+BUILDLINK_DEPENDS.pwlib?= pwlib>=1.4.4nb2
+BUILDLINK_PKGSRCDIR.pwlib?= ../../devel/pwlib
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.pwlib=pwlib
+BUILDLINK_PREFIX.pwlib_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.pwlib+= include/ptclib/*.h
+BUILDLINK_FILES.pwlib+= include/ptlib/unix/ptlib/*.h
+BUILDLINK_FILES.pwlib+= include/ptlib/unix/ptlib/*.inl
+BUILDLINK_FILES.pwlib+= include/ptlib/*.h
+BUILDLINK_FILES.pwlib+= include/ptlib/*.inl
+BUILDLINK_FILES.pwlib+= include/ptlib.h
+BUILDLINK_FILES.pwlib+= lib/libpt.*
+
+BUILDLINK_TARGETS+= pwlib-buildlink
+
+pwlib-buildlink: _BUILDLINK_USE
+
+.endif # PWLIB_BUILDLINK2_MK