From c28df54e21fe0068204613a973e92e94e6cfa912 Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 10 Sep 2002 06:10:04 +0000 Subject: Use buildlink2 and add a buildlink2.mk file for other packages. --- net/dante/Makefile | 7 ++++--- net/dante/buildlink2.mk | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 net/dante/buildlink2.mk (limited to 'net/dante') 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 -- cgit v1.2.3