diff options
author | wiz <wiz> | 2005-10-06 11:51:13 +0000 |
---|---|---|
committer | wiz <wiz> | 2005-10-06 11:51:13 +0000 |
commit | 0deca9a035ce357b45d5c0897ef532de49fc4444 (patch) | |
tree | 8ddc7d2973dee46fc17100b7c2b5ae4709bada99 /net | |
parent | f8aae62ddbc17b9e088221a9dd8cdbf2d29cac7e (diff) | |
download | pkgsrc-0deca9a035ce357b45d5c0897ef532de49fc4444.tar.gz |
Update to 2.6.4 (changelog see mldonkey).
Add options for choosing between lablgtk and lablgtk2 toolkit.
XXX: lablgtk2 GUI is very unstable (at least for me), don't use it yet.
Diffstat (limited to 'net')
-rw-r--r-- | net/mldonkey-gui/Makefile | 5 | ||||
-rw-r--r-- | net/mldonkey-gui/options.mk | 24 |
2 files changed, 27 insertions, 2 deletions
diff --git a/net/mldonkey-gui/Makefile b/net/mldonkey-gui/Makefile index 039de5ecb43..42d97ea839d 100644 --- a/net/mldonkey-gui/Makefile +++ b/net/mldonkey-gui/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2005/07/25 08:41:29 tron Exp $ +# $NetBSD: Makefile,v 1.7 2005/10/06 11:51:13 wiz Exp $ # .include "../../net/mldonkey/Makefile.common" @@ -13,6 +13,8 @@ PRINT_PLIST_AWK+= /^@dirrm libexec\/mldonkey$$/ \ INSTALLATION_DIRS= bin +.include "options.mk" + do-install: ${RM} -f ${PREFIX}/bin/mlgui cd ${PREFIX}/bin && ${LN} -s ../libexec/mldonkey/mlgui mlgui @@ -23,5 +25,4 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mlim ${PREFIX}/libexec/mldonkey ${INSTALL_PROGRAM} ${WRKSRC}/mlnet+gui ${PREFIX}/libexec/mldonkey -.include "../../x11/lablgtk/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/mldonkey-gui/options.mk b/net/mldonkey-gui/options.mk new file mode 100644 index 00000000000..74eea9892a5 --- /dev/null +++ b/net/mldonkey-gui/options.mk @@ -0,0 +1,24 @@ +# $NetBSD: options.mk,v 1.1 2005/10/06 11:51:13 wiz Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.mldonkey-gui +PKG_OPTIONS_REQUIRED_GROUPS+= toolkit +PKG_OPTIONS_GROUP.toolkit= lablgtk lablgtk2 +# lablgtk2 GUI segfaults easily +PKG_SUGGESTED_OPTIONS= lablgtk + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mlablgtk) +CONFIGURE_ARGS+= --enable-gui=newgui1 +.include "../../x11/lablgtk/buildlink3.mk" +.endif + +.if !empty(PKG_OPTIONS:Mlablgtk2) +CONFIGURE_ARGS+= --enable-gui=newgui2 +.include "../../graphics/librsvg2/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" +# 2.4.0nb3 was first version with included optimized files on which +# mldonkey configure script insists +BUILDLINK_DEPENDS.lablgtk2+= lablgtk2>=2.4.0nb3 +.include "../../x11/lablgtk2/buildlink3.mk" +.endif |