aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/gdesklets-recentlyused/Makefile
blob: 454c33f107752ea3d0d5eeaa54e71b910fdaef2b (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
41
42
43
44
# New ports collection makefile for:    gdesklets-recentlyused
# Date created:             02 September 2003
# Whom:                 Mezz <mezz7@cox.net>
#
# $FreeBSD$
#

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

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

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

USE_PYTHON= yes
USE_XLIB=   yes
SUB_FILES=  pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message

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>