summaryrefslogtreecommitdiff
path: root/deskutils/conkyemail/Makefile
blob: 683e5d2f6cc9dc302a5e4cf964fbc726c9b7c08a (plain)
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
# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
# $FreeBSD$

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

MAINTAINER=	vg@FreeBSD.org
COMMENT=	Email script for conky

RUN_DEPENDS=	conky:sysutils/conky

USES=		python
USE_PYTHON=	distutils
NO_BUILD=	yes
NO_ARCH=	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} -r example/conkyrc.bak

.include <bsd.port.mk>