pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/gobby - Add gnome option (from pkgsrc-wip)



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d3a2a723d95f
branches:  trunk
changeset: 542610:d3a2a723d95f
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Thu May 22 17:39:50 2008 +0000

description:
- Add gnome option (from pkgsrc-wip)
- supports DESTDIR
- depend on xdg-dirs
- bump PKGREVISION

diffstat:

 editors/gobby/Makefile   |   9 +++++++--
 editors/gobby/PLIST      |   6 +++++-
 editors/gobby/options.mk |  14 ++++++++++++++
 3 files changed, 26 insertions(+), 3 deletions(-)

diffs (67 lines):

diff -r ed3ff5abef63 -r d3a2a723d95f editors/gobby/Makefile
--- a/editors/gobby/Makefile    Thu May 22 16:27:22 2008 +0000
+++ b/editors/gobby/Makefile    Thu May 22 17:39:50 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2008/03/06 14:53:49 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2008/05/22 17:39:50 tnn Exp $
 #
 
 DISTNAME=      gobby-0.4.5
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    editors
 MASTER_SITES=  http://releases.0x539.de/gobby/
 
@@ -10,10 +10,15 @@
 HOMEPAGE=      http://gobby.0x539.de/
 COMMENT=       Collaborative Editor
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE=         yes
 USE_PKGLOCALEDIR=      yes
 USE_LANGUAGES=         c c++
 USE_TOOLS=             gmake msgfmt pkg-config
+USE_DIRS+=             xdg-1.4
+
+.include "options.mk"
 
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../devel/glibmm/buildlink3.mk"
diff -r ed3ff5abef63 -r d3a2a723d95f editors/gobby/PLIST
--- a/editors/gobby/PLIST       Thu May 22 16:27:22 2008 +0000
+++ b/editors/gobby/PLIST       Thu May 22 17:39:50 2008 +0000
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2007/11/04 10:06:25 rillig Exp $
+@comment $NetBSD: PLIST,v 1.2 2008/05/22 17:39:50 tnn Exp $
 bin/gobby
 man/man1/gobby.1
+${PLIST.gnome}share/applications/gobby.desktop
 share/locale/ca/LC_MESSAGES/gobby.mo
 share/locale/de/LC_MESSAGES/gobby.mo
 share/locale/es/LC_MESSAGES/gobby.mo
@@ -14,3 +15,6 @@
 share/pixmaps/gobby/chat.png
 share/pixmaps/gobby/doclist.png
 share/pixmaps/gobby/userlist.png
+@dirrm share/pixmaps/gobby
+@comment in xdg-dirs: @dirrm share/pixmaps
+@comment in xdg-dirs: @dirrm share/applications
diff -r ed3ff5abef63 -r d3a2a723d95f editors/gobby/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/gobby/options.mk  Thu May 22 17:39:50 2008 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2008/05/22 17:39:50 tnn Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.gobby
+PKG_SUPPORTED_OPTIONS= gnome
+PKG_SUGGESTED_OPTIONS=
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=           gnome
+.if !empty(PKG_OPTIONS:Mgnome)
+.include "../../sysutils/gnome-vfs/buildlink3.mk"
+PLIST.gnome=           yes
+CONFIGURE_ARGS+=       --with-gnome
+.endif



Home | Main Index | Thread Index | Old Index