aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks/gdesklets-ebichuclock/Makefile
blob: f09996fc2a7599309e3738daf7277f455232ecf9 (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-ebichuclock
# Date created:             07 January 2004
# Whom:                 Vincent Tantardini <vinc@FreeBSD-fr.org>
#
# $FreeBSD$
#

PORTNAME=   ebichuclock
PORTVERSION=    0.1.1
PORTREVISION=   14
CATEGORIES= x11-clocks gnome
MASTER_SITES=   http://www.gdesklets.info/archive/
PKGNAMEPREFIX=  gdesklets-

MAINTAINER= ports@FreeBSD.org
COMMENT=    A very simple clock with a small Ebichu picture in it

RUN_DEPENDS=    gdesklets:${PORTSDIR}/deskutils/gdesklets \
        ${LOCALBASE}/share/gdesklets/Sensors/Clock/__init__.py:${PORTSDIR}/x11-clocks/gdesklets-clock

WRKSRC=     ${WRKDIR}/${PORTNAME}

NO_BUILD=   yes
USE_PYTHON= yes

SUB_FILES=  pkg-message
SUB_LIST=   NAME="${NAME}"

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

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

.include <bsd.port.mk>