aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/gdesklets-recentlyused/Makefile
blob: 2a776f12fad8a14cf2f08c7e04933474fe19009b (plain) (blame)
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
# $FreeBSD$

PORTNAME=   recentlyused
PORTVERSION=    0.6
PORTREVISION=   12
CATEGORIES= deskutils gnome
MASTER_SITES=   http://www.gdesklets.info/archive/
PKGNAMEPREFIX=  gdesklets-

MAINTAINER= ports@FreeBSD.org
COMMENT=    A toolbar for the most recently used items from ~/.recently-used

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

WRKSRC=     ${WRKDIR}/${NAME}

NO_BUILD=   yes
USE_PYTHON= yes

SUB_FILES=  pkg-message

DATADIR=    ${PREFIX}/share/gdesklets
NAME=       RecentlyUsed

NO_STAGE=   yes
do-install:
    @${MKDIR} ${DATADIR}/Displays/${NAME}
    ${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/Displays/${NAME}
    @${MKDIR} ${DATADIR}/Sensors/${NAME}
    ${INSTALL_DATA} ${WRKSRC}/Sensors/${NAME}/*.py ${DATADIR}/Sensors/${NAME}
    ${INSTALL_DATA} ${WRKSRC}/Sensors/${NAME}/AUTHORS ${DATADIR}/Sensors/${NAME}
    @${CP} ${WRKSRC}/Sensors/${NAME}/.recently-used ${DATADIR}/Sensors/${NAME}
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>