summaryrefslogtreecommitdiffstats
path: root/x11/gdesklets-tasklist/Makefile
blob: b755bb7a068bb906be90d150f189bab2c0e59062 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:    gdesklets-tasklist
# Date created:                		04 January 2004
# Whom:                    		Vincent Tantardini <vinc@FreeBSD-fr.org>
#
# $FreeBSD$
#

PORTNAME=	tasklist
PORTVERSION=	0.10
PORTREVISION=	4
CATEGORIES=	x11 gnome
MASTER_SITES=	http://gdesklets.zencomputer.ca/
PKGNAMEPREFIX=	gdesklets-
DISTNAME=	${PORTNAME}-desklet-${PORTVERSION}

MAINTAINER=	pav@FreeBSD.org
COMMENT=	Displays the GNOME tasklist and floats above the other windows

RUN_DEPENDS=	gdesklets:${PORTSDIR}/deskutils/gdesklets

USE_X_PREFIX=	yes

NAME=		tasklist
DATADIR=	${PREFIX}/share/gnome
PKGMESSAGE=	${WRKDIR}/pkg-message
WRKSRC=		${WRKDIR}/${PORTNAME}-desklet-${PORTVERSION}

do-build:
	@${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; s|%%NAME%%|${NAME}|g' > ${PKGMESSAGE}

do-install:
	@${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}
	@${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/gdesklets/Displays/${NAME}/
	@${INSTALL_DATA} ${WRKSRC}/*.png ${DATADIR}/gdesklets/Displays/${NAME}/
	@${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}/gdesklets/Displays/${NAME}/
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud