fda3468340
This was codified in RFC 8081, and some desktop apps are using this now. https://bugs.freedesktop.org/show_bug.cgi?id=105785
30 lines
905 B
Makefile
30 lines
905 B
Makefile
# $NetBSD: Makefile,v 1.36 2018/04/17 10:59:19 markd Exp $
|
|
|
|
DISTNAME= desktop-file-utils-0.23
|
|
PKGREVISION= 1
|
|
CATEGORIES= sysutils gnome
|
|
MASTER_SITES= http://freedesktop.org/software/desktop-file-utils/releases/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.freedesktop.org/wiki/Software/desktop-file-utils
|
|
COMMENT= Utilities to manage desktop entries
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_TOOLS+= pkg-config
|
|
GNU_CONFIGURE= YES
|
|
USE_LIBTOOL= YES
|
|
USE_PKGLOCALEDIR= YES
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
CONFIGURE_ARGS+= EMACS=no
|
|
|
|
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 "../../mk/bsd.pkg.mk"
|