aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/gdesklets-recentlyused/Makefile
blob: 61276314f16bd0b89bc4421f4ea5e4d86d0036f0 (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
36
37
38
39
40
# New ports collection makefile for:    gdesklets-recentlyused
# Date created:             02 September 2003
# Whom:                 Mezz <mezz7@cox.net>
#
# $FreeBSD$
#

PORTNAME=   recentlyused
PORTVERSION=    0.6
PORTREVISION=   1
CATEGORIES= deskutils gnome
MASTER_SITES=   http://gdesklets.gnomedesktop.org/files/
PKGNAMEPREFIX= gdesklets-
DISTNAME=   recently-used-${PORTVERSION}

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

RUN_DEPENDS=    ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets

USE_X_PREFIX=   yes
NAME=       RecentlyUsed
DATADIR=    ${PREFIX}/share/gnome

do-build:
    @${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
    @${FIND} ${WRKSRC} -name '*.orig' -delete

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

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>