summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-05-22 17:39:50 +0000
committertnn <tnn@pkgsrc.org>2008-05-22 17:39:50 +0000
commitaff7c96f672ed89b69b6143468319b07dd1b8921 (patch)
treebec03d54082983a8fc9a57f255d87fa56e0cdebe
parent65244e1c328f2fc9719961a4ad9ebc2745f4b1e0 (diff)
downloadpkgsrc-aff7c96f672ed89b69b6143468319b07dd1b8921.tar.gz
- Add gnome option (from pkgsrc-wip)
- supports DESTDIR - depend on xdg-dirs - bump PKGREVISION
-rw-r--r--editors/gobby/Makefile9
-rw-r--r--editors/gobby/PLIST6
-rw-r--r--editors/gobby/options.mk14
3 files changed, 26 insertions, 3 deletions
diff --git a/editors/gobby/Makefile b/editors/gobby/Makefile
index f33e1b87383..bf71456aee0 100644
--- a/editors/gobby/Makefile
+++ b/editors/gobby/Makefile
@@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org
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 --git a/editors/gobby/PLIST b/editors/gobby/PLIST
index 97e7846c423..5c4a146fb09 100644
--- a/editors/gobby/PLIST
+++ b/editors/gobby/PLIST
@@ -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.png
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 --git a/editors/gobby/options.mk b/editors/gobby/options.mk
new file mode 100644
index 00000000000..ba912691a83
--- /dev/null
+++ b/editors/gobby/options.mk
@@ -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