summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-10 06:10:04 +0000
committerjlam <jlam>2002-09-10 06:10:04 +0000
commita48f04e1afbe742f164983f7125c8516b94d3317 (patch)
tree1c914256abaed40462138dcc28b1caf2ca61d42a /net
parent2cf8d4d9cf87bb147096783c73a7b5f47bf9a79e (diff)
downloadpkgsrc-a48f04e1afbe742f164983f7125c8516b94d3317.tar.gz
Use buildlink2 and add a buildlink2.mk file for other packages.
Diffstat (limited to 'net')
-rw-r--r--net/dante/Makefile7
-rw-r--r--net/dante/buildlink2.mk20
2 files changed, 24 insertions, 3 deletions
diff --git a/net/dante/Makefile b/net/dante/Makefile
index 98843578f22..3c0cc387c92 100644
--- a/net/dante/Makefile
+++ b/net/dante/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2002/09/09 21:51:52 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2002/09/10 06:10:04 jlam Exp $
#
DISTNAME= dante-1.1.13
@@ -11,12 +11,13 @@ COMMENT= BSD-licensed socks 4/5 proxy suite
CONFLICTS= socks4-[0-9]*
+USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
-CONFIGURE_ARGS+= --with-socks-conf=${PKG_SYSCONFDIR}/etc/socks.conf
-CONFIGURE_ARGS+= --with-sockd-conf=${PKG_SYSCONFDIR}/etc/sockd.conf
+CONFIGURE_ARGS+= --with-socks-conf=${PKG_SYSCONFDIR}/socks.conf
+CONFIGURE_ARGS+= --with-sockd-conf=${PKG_SYSCONFDIR}/sockd.conf
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dante
diff --git a/net/dante/buildlink2.mk b/net/dante/buildlink2.mk
new file mode 100644
index 00000000000..6d189fb88a9
--- /dev/null
+++ b/net/dante/buildlink2.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink2.mk,v 1.1 2002/09/10 06:10:04 jlam Exp $
+
+.if !defined(DANTE_BUILDLINK2_MK)
+DANTE_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= dante
+BUILDLINK_DEPENDS.dante?= dante>=1.1.13
+BUILDLINK_PKGSRCDIR.dante?= ../../net/dante
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.dante=dante
+BUILDLINK_PREFIX.dante_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.dante= include/dante/*
+BUILDLINK_FILES.dante+= lib/libdsocks.*
+BUILDLINK_FILES.dante+= lib/libsocks.*
+
+BUILDLINK_TARGETS+= dante-buildlink
+
+dante-buildlink: _BUILDLINK_USE
+
+.endif # DANTE_BUILDLINK2_MK