freebsd-ports/x11/gdesklets-tasklist/Makefile

33 lines
1,008 B
Makefile

# Created by: Vincent Tantardini <vinc@FreeBSD-fr.org>
# $FreeBSD$
PORTNAME= tasklist
PORTVERSION= 0.10
PORTREVISION= 11
CATEGORIES= x11 gnome
MASTER_SITES= http://gdesklets.zencomputer.ca/
PKGNAMEPREFIX= gdesklets-
DISTNAME= ${PORTNAME}-desklet-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Displays the GNOME tasklist and floats above the other windows
RUN_DEPENDS= gdesklets:${PORTSDIR}/deskutils/gdesklets
NAME= tasklist
DATADIR= ${PREFIX}/share
PKGMESSAGE= ${WRKDIR}/pkg-message
WRKSRC= ${WRKDIR}/${PORTNAME}-desklet-${PORTVERSION}
NO_STAGE= yes
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>