summaryrefslogtreecommitdiff
path: root/net/dante
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-10 06:10:04 +0000
committerjlam <jlam@pkgsrc.org>2002-09-10 06:10:04 +0000
commitc28df54e21fe0068204613a973e92e94e6cfa912 (patch)
tree1c914256abaed40462138dcc28b1caf2ca61d42a /net/dante
parent823ba38095892e108069a7c42b37523ce14d9b77 (diff)
downloadpkgsrc-c28df54e21fe0068204613a973e92e94e6cfa912.tar.gz
Use buildlink2 and add a buildlink2.mk file for other packages.
Diffstat (limited to 'net/dante')
-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