freebsd-ports/misc/kde-xdg-env/Makefile
Michael Nottebrock ef4b89628e Remove duplicate path element from XDG_*_DIRS to avoid crashes in Firefox.
PR: ports/114678
Submitted by: Mark Hobden <markhobden@gmail.com>
2007-07-17 23:04:22 +00:00

40 lines
767 B
Makefile

# New ports collection makefile for: kde-xdg-env
# Date created: April 03 2005
# Whom: Michael Nottebrock <lofi@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xdg
PORTVERSION= 1.0
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= misc kde
MASTER_SITES= # none
PKGNAMEPREFIX= kde-
PKGNAMESUFFIX= -env
DISTNAME= # none
EXTRACT_SUFX= # none
MAINTAINER= kde@FreeBSD.org
COMMENT= Script which hooks into startkde and helps KDE pick up XDG apps/menus
.if defined(KDE_PREFIX)
PREFIX= ${KDE_PREFIX}
SUB_LIST+= KDE_PREFIX=${KDE_PREFIX}
.else
SUB_LIST+= KDE_PREFIX=${LOCALBASE}
.endif
NO_BUILD= yes
SUB_FILES= xdg-env.sh
PLIST_FILES= env/xdg-env.sh
PLIST_DIRS= env
do-install:
${MKDIR} ${PREFIX}/env
${INSTALL_SCRIPT} ${WRKDIR}/xdg-env.sh ${PREFIX}/env
.include <bsd.port.mk>