Files
ports/devel/desktop-file-utils/Makefile
T
Mark Linimon 4726ab583a Add compiler:c11 to USES to fix build on GCC-based systems:
cc1: error: unrecognized command line option "-std=gnu11"

Approved by:	portmgr (tier-2 blanket)
2020-09-17 14:06:32 +00:00

33 lines
814 B
Makefile

# Created by: Jean-Yves Lefort <jylefort@brutele.be>
# $FreeBSD$
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>