summaryrefslogtreecommitdiff
path: root/net/napshare/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-05-02 14:03:16 +0000
committerwiz <wiz@pkgsrc.org>2003-05-02 14:03:16 +0000
commite4ec3050839b188052461cc3e4089b03da9d8c63 (patch)
tree570cd49323698d98d71f9f6a76972dd683426f3e /net/napshare/Makefile
parentbc3dcb5a62a6d16b0049994ebcbde1adb5fcc1f3 (diff)
downloadpkgsrc-e4ec3050839b188052461cc3e4089b03da9d8c63.tar.gz
Convert to buildlink2.
Diffstat (limited to 'net/napshare/Makefile')
-rw-r--r--net/napshare/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/net/napshare/Makefile b/net/napshare/Makefile
index 7285a80c2e3..28641d378ae 100644
--- a/net/napshare/Makefile
+++ b/net/napshare/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2003/05/02 11:56:09 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2003/05/02 14:03:16 wiz Exp $
DISTNAME= napshare-1.1
PKGREVISION= 1
@@ -9,14 +9,12 @@ MAINTAINER= tron@netbsd.org
HOMEPAGE= http://napshare.sourceforge.net/
COMMENT= Fully featured Gnutella P2P client made to run 24/7 unattended
-DEPENDS= gtk+>=1.2.10nb4:../../x11/gtk
-
-USE_X11= YES
+USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
-EVAL_PREFIX+= GTKDIR=gtk+
-CONFIGURE_ARGS+=--with-gtk-prefix="${GTKDIR}"
+CONFIGURE_ARGS+=--with-gtk-prefix="${BUILDLINK_PREFIX.gtk}"
-CFLAGS+= `${GTKDIR}/bin/gtk-config --cflags`
+CFLAGS+= `${BUILDLINK_PREFIX.gtk}/bin/gtk-config --cflags`
+.include "../../x11/gtk/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"