summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjmmv <jmmv>2005-03-22 16:10:12 +0000
committerjmmv <jmmv>2005-03-22 16:10:12 +0000
commit439804e3d173065ccd173d5cc0d7a1e8281e57f6 (patch)
tree3809d36eaa830c7abe8f222a76b651397568a50c /sysutils
parent9996559d057e4d26a053c5c844928af53328d77f (diff)
downloadpkgsrc-439804e3d173065ccd173d5cc0d7a1e8281e57f6.tar.gz
Initial import of gnome-menus, version 2.10.0:
This package provides an implementation of the Desktop Menu Specification for the GNOME Desktop.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gnome-menus/DESCR2
-rw-r--r--sysutils/gnome-menus/Makefile47
-rw-r--r--sysutils/gnome-menus/PLIST76
-rw-r--r--sysutils/gnome-menus/buildlink3.mk21
-rw-r--r--sysutils/gnome-menus/distinfo6
-rw-r--r--sysutils/gnome-menus/patches/patch-aa13
6 files changed, 165 insertions, 0 deletions
diff --git a/sysutils/gnome-menus/DESCR b/sysutils/gnome-menus/DESCR
new file mode 100644
index 00000000000..da9b4222760
--- /dev/null
+++ b/sysutils/gnome-menus/DESCR
@@ -0,0 +1,2 @@
+This package provides an implementation of the Desktop Menu Specification
+for the GNOME Desktop.
diff --git a/sysutils/gnome-menus/Makefile b/sysutils/gnome-menus/Makefile
new file mode 100644
index 00000000000..25dab97784b
--- /dev/null
+++ b/sysutils/gnome-menus/Makefile
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/03/22 16:10:12 jmmv Exp $
+#
+
+DISTNAME= gnome-menus-2.10.0
+CATEGORIES= sysutils gnome
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-menus/2.10/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= jmmv@NetBSD.org
+HOMEPAGE= http://www.gnome.org/
+COMMENT= Implementation of the desktop menu specification for GNOME
+
+GNU_CONFIGURE= yes
+USE_BUILDLINK3= yes
+USE_DIRS+= xdg-1.1
+USE_GNU_TOOLS+= make
+USE_LIBTOOL= yes
+USE_PKGINSTALL= yes
+USE_PKGLOCALEDIR= yes
+
+PKGCONFIG_OVERRIDE+= ${WRKSRC}/libmenu/libgnome-menu.pc.in
+
+EXAMPLEDIR= ${PREFIX}/share/examples/gnome-menus/xdg/menus
+OWN_DIRS= ${PKG_SYSCONFDIR}/xdg/menus
+CONF_FILES= ${EXAMPLEDIR}/applications.menu \
+ ${PKG_SYSCONFDIR}/xdg/menus/applications.menu
+CONF_FILES+= ${EXAMPLEDIR}/preferences.menu \
+ ${PKG_SYSCONFDIR}/xdg/menus/preferences.menu
+CONF_FILES+= ${EXAMPLEDIR}/settings.menu \
+ ${PKG_SYSCONFDIR}/xdg/menus/settings.menu
+
+SUBST_CLASSES+= paths
+SUBST_STAGE.paths= pre-configure
+SUBST_MESSAGE.paths= "Fixing paths to installation prefix."
+SUBST_FILES.paths= layout/*.menu
+SUBST_SED.paths= -e 's|/usr/|${PREFIX}/|g'
+SUBST_SED.paths+= -e 's|/etc/X11/applnk|${PREFIX}/share/kde/applnk/|g'
+
+BUILDLINK_DEPENDS.glib2+= glib2>=2.6.0
+BUILDLINK_DEPENDS.gnome-vfs2+= gnome-vfs2>=2.10.0
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/pkgconfig/buildlink3.mk"
+.include "../../sysutils/gnome-vfs2/buildlink3.mk"
+.include "../../textproc/intltool/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/gnome-menus/PLIST b/sysutils/gnome-menus/PLIST
new file mode 100644
index 00000000000..53c20220057
--- /dev/null
+++ b/sysutils/gnome-menus/PLIST
@@ -0,0 +1,76 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/22 16:10:12 jmmv Exp $
+bin/gnome-menu-spec-test
+include/gnome-menus/menu-tree.h
+lib/libgnome-menu.la
+lib/pkgconfig/libgnome-menu.pc
+share/desktop-directories/Accessibility.directory
+share/desktop-directories/Accessories.directory
+share/desktop-directories/Applications.directory
+share/desktop-directories/Development.directory
+share/desktop-directories/Edutainment.directory
+share/desktop-directories/Games.directory
+share/desktop-directories/Graphics.directory
+share/desktop-directories/Internet.directory
+share/desktop-directories/Multimedia.directory
+share/desktop-directories/Office.directory
+share/desktop-directories/Other.directory
+share/desktop-directories/Settings-Accessibility.directory
+share/desktop-directories/Settings.directory
+share/desktop-directories/System-Settings.directory
+share/desktop-directories/System-Tools.directory
+share/examples/gnome-menus/xdg/menus/applications.menu
+share/examples/gnome-menus/xdg/menus/preferences.menu
+share/examples/gnome-menus/xdg/menus/settings.menu
+${PKGLOCALEDIR}/locale/ar/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/bg/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/ca/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/cy/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/da/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/el/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/en_CA/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/en_GB/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/es/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/et/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/eu/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/fa/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/fi/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/gu/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/hi/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/id/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/it/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/lt/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/mk/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/ms/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/nb/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/ne/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/nn/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/no/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/pa/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/pt/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/sq/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/sr/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/sr@Latn/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/th/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/vi/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/gnome-menus.mo
+${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/gnome-menus.mo
+@dirrm share/examples/gnome-menus/xdg/menus
+@dirrm share/examples/gnome-menus/xdg
+@dirrm share/examples/gnome-menus
+@dirrm share/desktop-directories
+@dirrm include/gnome-menus
diff --git a/sysutils/gnome-menus/buildlink3.mk b/sysutils/gnome-menus/buildlink3.mk
new file mode 100644
index 00000000000..c753ac37188
--- /dev/null
+++ b/sysutils/gnome-menus/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/03/22 16:10:12 jmmv Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GNOME_MENUS_BUILDLINK3_MK:= ${GNOME_MENUS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= gnome-menus
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnome-menus}
+BUILDLINK_PACKAGES+= gnome-menus
+
+.if !empty(GNOME_MENUS_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.gnome-menus+= gnome-menus>=2.10.0
+BUILDLINK_PKGSRCDIR.gnome-menus?= ../../sysutils/gnome-menus
+.endif # GNOME_MENUS_BUILDLINK3_MK
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../sysutils/gnome-vfs2/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/sysutils/gnome-menus/distinfo b/sysutils/gnome-menus/distinfo
new file mode 100644
index 00000000000..6b4f6c83479
--- /dev/null
+++ b/sysutils/gnome-menus/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/03/22 16:10:12 jmmv Exp $
+
+SHA1 (gnome-menus-2.10.0.tar.bz2) = 2d2bcb7a2203a7fd209c14b4f73749c86e2dd3ea
+RMD160 (gnome-menus-2.10.0.tar.bz2) = 63bf7ff61913905308aa51cb08c400dc78a1e4b7
+Size (gnome-menus-2.10.0.tar.bz2) = 337595 bytes
+SHA1 (patch-aa) = 8dd7584a5ff414960cac661643fdfa734338d3a7
diff --git a/sysutils/gnome-menus/patches/patch-aa b/sysutils/gnome-menus/patches/patch-aa
new file mode 100644
index 00000000000..a740e461b2b
--- /dev/null
+++ b/sysutils/gnome-menus/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/03/22 16:10:12 jmmv Exp $
+
+--- layout/Makefile.in.orig 2005-01-10 18:46:19.000000000 +0100
++++ layout/Makefile.in
+@@ -190,7 +190,7 @@ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ NULL =
+
+-menudir = $(sysconfdir)/xdg/menus
++menudir = $(datadir)/examples/$(PACKAGE)/xdg/menus
+
+ menu_DATA = \
+ applications.menu \