Changeset View
Changeset View
Standalone View
Standalone View
devel/desktop-file-utils/Makefile
# Created by: Jean-Yves Lefort <jylefort@brutele.be> | # Created by: Jean-Yves Lefort <jylefort@brutele.be> | ||||
PORTNAME= desktop-file-utils | PORTNAME= desktop-file-utils | ||||
PORTVERSION= 0.26 | PORTVERSION= 0.26 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= devel | CATEGORIES= devel | ||||
MASTER_SITES= http://freedesktop.org/software/${PORTNAME}/releases/ | MASTER_SITES= http://freedesktop.org/software/${PORTNAME}/releases/ | ||||
MAINTAINER= desktop@FreeBSD.org | MAINTAINER= desktop@FreeBSD.org | ||||
COMMENT= Couple of command line utilities for working with desktop entries | COMMENT= Couple of command line utilities for working with desktop entries | ||||
LICENSE= GPLv2+ | LICENSE= GPLv2+ | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||
USES= compiler:c11 gettext meson gnome pkgconfig tar:xz | USES= compiler:c11 gettext meson gnome pkgconfig trigger tar:xz | ||||
USE_GNOME= glib20 | USE_GNOME= glib20 | ||||
PKGINSTALL= ${WRKDIR}/pkg-install | MIMEDIRS= share/applications | ||||
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall | |||||
PORT_MIMEDIRS= ${LOCALBASE}/share/applications | |||||
MIMEDIRS= ${PORT_MIMEDIRS} | |||||
SUB_FILES= pkg-deinstall pkg-install | |||||
SUB_LIST= MIMEDIRS="${MIMEDIRS}" | SUB_LIST= MIMEDIRS="${MIMEDIRS}" | ||||
PKGPOSTINSTALL= ${WRKDIR}/pkg-post-install | |||||
mat: Maybe it's me, but I don't see that file here. | |||||
Done Inline Actionsthe sub_files was missing bapt: the sub_files was missing | |||||
SUB_FILES= pkg-post-install.lua | |||||
matUnsubmitted Not Done Inline ActionsSo, mmm, SUB_FILES will create a WRKDIR/pkg-post-install.lua, not a WRKDIR/pkg-post-install, is the .lua somewhat magic, like, if it's there, or not, it does not matter? mat: So, mmm, SUB_FILES will create a `WRKDIR/pkg-post-install.lua`, not a `WRKDIR/pkg-post-install`… | |||||
baptAuthorUnsubmitted Done Inline Actionsthe .lua tells pkg it should expect a lua script and not a shell script. bapt: the .lua tells pkg it should expect a lua script and not a shell script. | |||||
post-install: | post-install: | ||||
${INSTALL_DATA} ${WRKSRC}/misc/desktop-entry-mode.el \ | ${INSTALL_DATA} ${WRKSRC}/misc/desktop-entry-mode.el \ | ||||
${STAGEDIR}${PREFIX}/share/emacs/site-lisp/desktop-entry-mode.el | ${STAGEDIR}${PREFIX}/share/emacs/site-lisp/desktop-entry-mode.el | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
Maybe it's me, but I don't see that file here.