Import menu-cache-0.4.1.

Libmenu-cache is a library creating and utilizing caches to speed up the
manipulation for freedesktop.org defined application menus. It can be
used as a replacement of libgnome-menu of gnome-menus.

based on a submission from Amit Kulkarni
ok jasper@
This commit is contained in:
ajacoutot 2013-07-01 05:08:06 +00:00
parent 5a7bd1bd48
commit b6bc978113
5 changed files with 61 additions and 0 deletions

34
x11/menu-cache/Makefile Normal file
View File

@ -0,0 +1,34 @@
# $OpenBSD: Makefile,v 1.1.1.1 2013/07/01 05:08:06 ajacoutot Exp $
COMMENT= caching mechanism for freedesktop.org compliant menus
DISTNAME= menu-cache-0.4.1
CATEGORIES= x11
HOMEPAGE= http://www.lxde.org/
SHARED_LIBS += menu-cache 0.0 # 2.0
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lxde/}
WANTLIB= c ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 pcre pthread z
LIB_DEPENDS= devel/glib2
MODULES= devel/gettext
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-gtk-doc
# If one of these tools is found at configure stage, it might be used,
# no matter whether we use --disable-gtk-doc or not.
CONFIGURE_ENV +=ac_cv_path_GTKDOC_CHECK="" \
ac_cv_path_GTKDOC_REBASE="" \
ac_cv_path_GTKDOC_MKPDF=""
.include <bsd.port.mk>

2
x11/menu-cache/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (menu-cache-0.4.1.tar.gz) = T6lAjjU/7bpbcxTL9rbNBthzoUJOKBqgUNiLucCgGR4=
SIZE (menu-cache-0.4.1.tar.gz) = 412859

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-docs_reference_libmenu-cache_Makefile_in,v 1.1.1.1 2013/07/01 05:08:06 ajacoutot Exp $
--- docs/reference/libmenu-cache/Makefile.in.orig Sun Jun 30 09:34:04 2013
+++ docs/reference/libmenu-cache/Makefile.in Sun Jun 30 09:34:12 2013
@@ -735,8 +735,6 @@ dist-hook: dist-check-gtkdoc dist-hook-local
.PHONY : dist-hook-local docs
#TESTS = $(GTKDOC_CHECK)
--include $(top_srcdir)/git.mk
-
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

3
x11/menu-cache/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
Libmenu-cache is a library creating and utilizing caches to speed up the
manipulation for freedesktop.org defined application menus. It can be
used as a replacement of libgnome-menu of gnome-menus.

10
x11/menu-cache/pkg/PLIST Normal file
View File

@ -0,0 +1,10 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/07/01 05:08:06 ajacoutot Exp $
include/menu-cache/
include/menu-cache/menu-cache.h
lib/libmenu-cache.a
lib/libmenu-cache.la
@lib lib/libmenu-cache.so.${LIBmenu-cache_VERSION}
lib/pkgconfig/
lib/pkgconfig/libmenu-cache.pc
@bin libexec/menu-cache-gen
@bin libexec/menu-cached