summaryrefslogtreecommitdiff
path: root/sysutils/desktop-file-utils/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-09-21 17:03:53 +0000
committerjmmv <jmmv@pkgsrc.org>2004-09-21 17:03:53 +0000
commitfca42f8372da5b1d66ce2b9b0d1e3dedc7e23d5c (patch)
treebdf4438ff58293871c1155a8f446a944cc4bf249 /sysutils/desktop-file-utils/Makefile
parent763a64afd6c31a8d909ff8722e0cc985345f6aa7 (diff)
downloadpkgsrc-fca42f8372da5b1d66ce2b9b0d1e3dedc7e23d5c.tar.gz
Initial import of desktop-file-utils, version 0.8:
desktop-file-utils contains a couple of command line utilities for working with desktop entries and the applications database. More specifically, it contains the update-desktop-database utility, used to rebuild the database that connects MIME types to applications.
Diffstat (limited to 'sysutils/desktop-file-utils/Makefile')
-rw-r--r--sysutils/desktop-file-utils/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/sysutils/desktop-file-utils/Makefile b/sysutils/desktop-file-utils/Makefile
new file mode 100644
index 00000000000..44dc1534f67
--- /dev/null
+++ b/sysutils/desktop-file-utils/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/09/21 17:03:53 jmmv Exp $
+#
+
+DISTNAME= desktop-file-utils-0.8
+CATEGORIES= sysutils gnome
+MASTER_SITES= http://freedesktop.org/Software/desktop-file-utils/releases/
+
+MAINTAINER= jmmv@NetBSD.org
+HOMEPAGE= http://www.freedesktop.org/Software/desktop-file-utils
+COMMENT= Utilities to manage desktop entries
+
+GNU_CONFIGURE= YES
+USE_BUILDLINK3= YES
+USE_DIRS+= xdg-1.1
+USE_LIBTOOL= YES
+USE_PKGINSTALL= YES
+USE_PKGLOCALEDIR= YES
+
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+= EMACS=no
+
+INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
+DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
+
+FILES_SUBST+= APPLICATIONS_PATH="${PREFIX}/share/applications"
+FILES_SUBST+= UPDATE_DESKTOPDB="${PREFIX}/bin/update-desktop-database"
+
+PRINT_PLIST_AWK+= /^share\/applications\/mimeinfo.cache$$/ \
+ { print "@comment in INSTALL script: " $$0; \
+ next; }
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/pkgconfig/buildlink3.mk"
+.include "../../devel/popt/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"