aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/conkyemail/Makefile
blob: 93c1c2891ba21f4d80621e2bced2ad55a6383ee1 (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
# New ports collection makefile for:    conkyemail
# Date created:     2010-05-08
# Whom:         Gvozdikov Veniamin <g.veniamin@googlemail.com>
#
# $FreeBSD$
#

PORTNAME=   conkyemail
PORTVERSION=    2.07
CATEGORIES= deskutils
MASTER_SITES=   http://launchpadlibrarian.net/28462213/
DISTNAME=   ${PORTNAME}_${PORTVERSION}

MAINTAINER= g.veniamin@googlemail.com
COMMENT=    Email script for conky

RUN_DEPENDS=    conky:${PORTSDIR}/sysutils/conky

USE_PYTHON= yes
NO_BUILD=   yes
USE_PYDISTUTILS=yes
INSTALL_EGGINFO=yes

WRKSRC=     ${WRKDIR}/src

post-patch:
    cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,/usr/share/${PORTNAME},${DATADIR},g' \
        conkyEmail  conkyEmail.py setup.py example/conkyrc
    cd ${WRKSRC} && ${RM} -fr example/conkyrc.bak

.include <bsd.port.mk>