freebsd-ports/devel/desktop-file-utils/Makefile
2021-04-06 16:31:07 +02:00

31 lines
802 B
Makefile

# Created by: Jean-Yves Lefort <jylefort@brutele.be>
PORTNAME= desktop-file-utils
PORTVERSION= 0.26
CATEGORIES= devel
MASTER_SITES= http://freedesktop.org/software/${PORTNAME}/releases/
MAINTAINER= desktop@FreeBSD.org
COMMENT= Couple of command line utilities for working with desktop entries
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c11 gettext meson gnome pkgconfig tar:xz
USE_GNOME= glib20
PKGINSTALL= ${WRKDIR}/pkg-install
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
PORT_MIMEDIRS= ${LOCALBASE}/share/applications
MIMEDIRS= ${PORT_MIMEDIRS}
SUB_FILES= pkg-deinstall pkg-install
SUB_LIST= MIMEDIRS="${MIMEDIRS}"
post-install:
${INSTALL_DATA} ${WRKSRC}/misc/desktop-entry-mode.el \
${STAGEDIR}${PREFIX}/share/emacs/site-lisp/desktop-entry-mode.el
.include <bsd.port.mk>