summaryrefslogtreecommitdiff
path: root/net/mldonkey-gui
diff options
context:
space:
mode:
authorjaapb <jaapb@pkgsrc.org>2012-09-14 19:23:30 +0000
committerjaapb <jaapb@pkgsrc.org>2012-09-14 19:23:30 +0000
commit174b4dfc2f844be72e6ba1cb7cee55c4183802e5 (patch)
tree427a5ae8c005834d08b853c1ae63cd57a16cc8f1 /net/mldonkey-gui
parentec4212e8f620625cf1316bdd0bec523c2dc087d8 (diff)
downloadpkgsrc-174b4dfc2f844be72e6ba1cb7cee55c4183802e5.tar.gz
Updated to version 3.1.3. Fixed -gui build to work with x11/lablgtk 2.16.
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"