summaryrefslogtreecommitdiff
path: root/net/openslp
diff options
context:
space:
mode:
authorjlam <jlam>2002-08-25 18:38:05 +0000
committerjlam <jlam>2002-08-25 18:38:05 +0000
commitb28e357f6ee52e603c887fc42483ea19558d4048 (patch)
treed2b31bb9a6a069ebfb63079b9dddde1e6688bc4b /net/openslp
parent4d330b06ae2802c2520909a77c9b2b5998f05140 (diff)
downloadpkgsrc-b28e357f6ee52e603c887fc42483ea19558d4048.tar.gz
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk. This provides sufficient buildlink2 infrastructure to start merging other packages from the buildlink2 branch that have already been converted to use the buildlink2 framework.
Diffstat (limited to 'net/openslp')
-rw-r--r--net/openslp/Makefile4
-rw-r--r--net/openslp/buildlink2.mk19
2 files changed, 21 insertions, 2 deletions
diff --git a/net/openslp/Makefile b/net/openslp/Makefile
index f42e4989788..4c10278cf3a 100644
--- a/net/openslp/Makefile
+++ b/net/openslp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2002/03/15 04:12:19 markd Exp $
+# $NetBSD: Makefile,v 1.7 2002/08/25 18:39:35 jlam Exp $
DISTNAME= openslp-1.0.7
CATEGORIES= net
@@ -8,7 +8,7 @@ MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://www.openslp.org/
COMMENT= Open-source implementation of the Service Location Protocol
-USE_BUILDLINK_ONLY= YES
+USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --localstatedir=/var
diff --git a/net/openslp/buildlink2.mk b/net/openslp/buildlink2.mk
new file mode 100644
index 00000000000..faf3cdee399
--- /dev/null
+++ b/net/openslp/buildlink2.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:39:35 jlam Exp $
+
+.if !defined(OPENSLP_BUILDLINK2_MK)
+OPENSLP_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= openslp
+BUILDLINK_DEPENDS.openslp?= openslp>=1.0.1
+BUILDLINK_PKGSRCDIR.openslp?= ../../net/openslp
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.openslp=openslp
+BUILDLINK_PREFIX.openslp_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.openslp= include/slp.h
+BUILDLINK_FILES.openslp+= lib/libslp.*
+
+BUILDLINK_TARGETS+= openslp-buildlink
+
+openslp-buildlink: _BUILDLINK_USE
+
+.endif # OPENSLP_BUILDLINK2_MK