summaryrefslogtreecommitdiff
path: root/time/etm/Makefile
blob: e3a7f79b5c91795164acc13d80fb4ae5a158e0d1 (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
29
30
31
# $NetBSD: Makefile,v 1.16 2009/10/31 00:18:15 wiz Exp $
#

DISTNAME=	etm-297
CATEGORIES=	time
MASTER_SITES=	http://www.duke.edu/~dgraham/ETM/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.duke.edu/~dgraham/ETM/
COMMENT=	Event and Task Manager
LICENSE=	gnu-gpl-v3

DEPENDS+=	${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses
DEPENDS+=	${PYPKGPREFIX}-dateutil>=1.4:../../time/py-dateutil
DEPENDS+=	${PYPKGPREFIX}-icalendar-[0-9]*:../../time/py-icalendar

PKG_DESTDIR_SUPPORT=	user-destdir

USE_LANGUAGES=	# none

SUBST_CLASSES+=		python
SUBST_SED.python+=	-e 's,\(\#! *\)python,\1${PYTHONBIN},'
SUBST_FILES.python=	ez_setup.py
SUBST_STAGE.python=	pre-build
SUBST_MESSAGE.python=	Replacing python interpreter.

REPLACE_PYTHON=		e.py ew.py etm/freetime.py

.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"