diff options
author | edwin <edwin@FreeBSD.org> | 2004-07-18 20:04:44 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2004-07-18 20:04:44 +0800 |
commit | 88c755cb9e1ad59f8fda7b83c01c73c4d32f7ddb (patch) | |
tree | 7db93618bc5d9ba596362da161c10aeeb63b493e /devel/desktop-file-utils | |
parent | 268c3135402deb83a9640924f279b7c9a2c21255 (diff) | |
download | freebsd-ports-gnome-88c755cb9e1ad59f8fda7b83c01c73c4d32f7ddb.tar.gz freebsd-ports-gnome-88c755cb9e1ad59f8fda7b83c01c73c4d32f7ddb.tar.zst freebsd-ports-gnome-88c755cb9e1ad59f8fda7b83c01c73c4d32f7ddb.zip |
New port: desktop-file-utils, a couple of command line utilities
for working with desktop entries
desktop-file-utils contains a couple of command line utilities
for working with desktop entries, aswell as a menu module
for GnomeVFS.
WWW: http://www.freedesktop.org/Software/desktop-file-utils
PR: ports/67814
Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
Diffstat (limited to 'devel/desktop-file-utils')
-rw-r--r-- | devel/desktop-file-utils/Makefile | 38 | ||||
-rw-r--r-- | devel/desktop-file-utils/distinfo | 2 | ||||
-rw-r--r-- | devel/desktop-file-utils/files/patch-src::menu-method.c | 11 | ||||
-rw-r--r-- | devel/desktop-file-utils/pkg-descr | 7 | ||||
-rw-r--r-- | devel/desktop-file-utils/pkg-plist | 7 |
5 files changed, 65 insertions, 0 deletions
diff --git a/devel/desktop-file-utils/Makefile b/devel/desktop-file-utils/Makefile new file mode 100644 index 000000000000..fc7294083a09 --- /dev/null +++ b/devel/desktop-file-utils/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: desktop-file-utils +# Date created: 11 Jun 2004 +# Whom: Jean-Yves Lefort <jylefort@brutele.be> +# +# $FreeBSD$ +# + +PORTNAME= desktop-file-utils +PORTVERSION= 0.6 +CATEGORIES= devel +MASTER_SITES= http://freedesktop.org/Software/desktop-file-utils/releases/ + +MAINTAINER= jylefort@brutele.be +COMMENT= A couple of command line utilities for working with desktop entries + +LIB_DEPENDS= popt:${PORTSDIR}/devel/popt + +# This port contains no X program but it might install a GnomeVFS +# module and thus we need to use the same prefix as GnomeVFS. +USE_X_PREFIX= yes + +USE_GNOME= glib20 +WANT_GNOME= yes +GNU_CONFIGURE= yes + +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +.include <bsd.port.pre.mk> + +.if ${HAVE_GNOME:Mgnomevfs2} != "" +USE_GNOME+= gnomevfs2 +PLIST_SUB+= GNOME_VFS="" +.else +PLIST_SUB+= GNOME_VFS="@comment " +.endif + +.include <bsd.port.post.mk> diff --git a/devel/desktop-file-utils/distinfo b/devel/desktop-file-utils/distinfo new file mode 100644 index 000000000000..3a2f3df10f35 --- /dev/null +++ b/devel/desktop-file-utils/distinfo @@ -0,0 +1,2 @@ +MD5 (desktop-file-utils-0.6.tar.gz) = dcace3294470e9cdc9ebfe7de1881ece +SIZE (desktop-file-utils-0.6.tar.gz) = 386988 diff --git a/devel/desktop-file-utils/files/patch-src::menu-method.c b/devel/desktop-file-utils/files/patch-src::menu-method.c new file mode 100644 index 000000000000..5b16fe8a671c --- /dev/null +++ b/devel/desktop-file-utils/files/patch-src::menu-method.c @@ -0,0 +1,11 @@ +--- src/menu-method.c.orig Fri Jun 11 00:39:02 2004 ++++ src/menu-method.c Fri Jun 11 00:39:43 2004 +@@ -117,7 +117,7 @@ + GnomeVFSOpenMode mode, + FileHandle **handle, + gboolean exclusive, +- unsigned int perms); ++ mode_t perms); + static void file_handle_unref (FileHandle *handle); + static GnomeVFSResult file_handle_read (FileHandle *handle, + gpointer buffer, diff --git a/devel/desktop-file-utils/pkg-descr b/devel/desktop-file-utils/pkg-descr new file mode 100644 index 000000000000..23e2237589d6 --- /dev/null +++ b/devel/desktop-file-utils/pkg-descr @@ -0,0 +1,7 @@ +desktop-file-utils contains a couple of command line utilities for +working with desktop entries, aswell as a menu module for GnomeVFS. + +WWW: http://www.freedesktop.org/Software/desktop-file-utils + +- Jean-Yves Lefort +jylefort@brutele.be diff --git a/devel/desktop-file-utils/pkg-plist b/devel/desktop-file-utils/pkg-plist new file mode 100644 index 000000000000..3a19b3483d1c --- /dev/null +++ b/devel/desktop-file-utils/pkg-plist @@ -0,0 +1,7 @@ +bin/desktop-file-install +bin/desktop-file-validate +bin/desktop-menu-tool +%%GNOME_VFS%%etc/gnome-vfs-2.0/modules/menu-modules.conf +%%GNOME_VFS%%lib/gnome-vfs-2.0/modules/libmenu.a +%%GNOME_VFS%%lib/gnome-vfs-2.0/modules/libmenu.la +%%GNOME_VFS%%lib/gnome-vfs-2.0/modules/libmenu.so |