freebsd-ports/misc/kde4-xdg-env/Makefile
Kurt Jaeger ded1bc269e misc/kde4-xdg-env: fix after kdeprefix removal
Fix SUB_LIST and script

This is related to bug #209799, same root cause: the removal of
kdehier and USE_KDE4=kdeprefix is a bit too thorough. Here, it
leaves us with a blank variable in SUB_LIST, which ends up in a
shell script. The substitution leaves the shell script with syntax
errors.

Since $KDE4_PREFIX must be equal to $LOCALBASE, remove the substitution
and simplify the script.

PR:		209802
Submitted by:	groot@kde.org (kde)
2016-05-28 07:53:25 +00:00

24 lines
452 B
Makefile

# $FreeBSD$
PORTNAME= xdg
PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= misc kde
PKGNAMEPREFIX= kde4-
PKGNAMESUFFIX= -env
DISTFILES= # none
MAINTAINER= kde@FreeBSD.org
COMMENT= Script which hooks into startkde and helps KDE pick up XDG apps/menus
NO_BUILD= yes
SUB_FILES= xdg-env.sh
PLIST_FILES= env/xdg-env.sh
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/env
${INSTALL_SCRIPT} ${WRKDIR}/xdg-env.sh ${STAGEDIR}${PREFIX}/env
.include <bsd.port.mk>