summaryrefslogtreecommitdiff
path: root/net/mldonkey-gui
diff options
context:
space:
mode:
Diffstat (limited to 'net/mldonkey-gui')
-rw-r--r--net/mldonkey-gui/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/net/mldonkey-gui/Makefile b/net/mldonkey-gui/Makefile
index aba6bb41af6..c424c451e28 100644
--- a/net/mldonkey-gui/Makefile
+++ b/net/mldonkey-gui/Makefile
@@ -1,22 +1,24 @@
-# $NetBSD: Makefile,v 1.55 2012/09/07 19:17:21 adam Exp $
+# $NetBSD: Makefile,v 1.56 2012/09/14 19:23:31 jaapb Exp $
#
.include "../../net/mldonkey/Makefile.common"
PKGNAME= ${DISTNAME:S/mldonkey/mldonkey-gui/}
-PKGREVISION= 4
COMMENT+= (GTK interface)
DEPENDS+= mldonkey-[0-9]*:../../net/mldonkey
-USE_TOOLS+= pkg-config
+USE_TOOLS+= pkg-config autoconf
INSTALLATION_DIRS= bin libexec/mldonkey
CONFIGURE_ARGS+= --enable-gui=newgui2
CONFIGURE_ARGS+= --disable-option-checking
+pre-configure:
+ cd ${WRKSRC}/config && autoconf
+
do-install:
${RM} -f ${DESTDIR}${PREFIX}/bin/mlgui
cd ${DESTDIR}${PREFIX}/bin && ${LN} -s ../libexec/mldonkey/mlgui mlgui
@@ -28,7 +30,7 @@ do-install:
.include "../../graphics/librsvg/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
-# 2.6.0 is the first ~stable version (for mldonkey)
-BUILDLINK_API_DEPENDS.lablgtk+= lablgtk>=2.6.0
+# 2.16.0 is the first version that installs in the right location
+BUILDLINK_API_DEPENDS.lablgtk+= lablgtk>=2.16.0
.include "../../x11/lablgtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"