summaryrefslogtreecommitdiff
path: root/time/gdeskcal/Makefile
blob: 0be48f054af796c8ae6492d4451fe00414c55d3f (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
32
33
# $NetBSD: Makefile,v 1.57 2015/04/25 14:24:57 tnn Exp $

DISTNAME=	gDeskCal-0_57_1
PKGNAME=	gdeskcal-0.57.1
PKGREVISION=	28
CATEGORIES=	time
MASTER_SITES=	http://www.pycage.de/download/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.pycage.de/\#gdeskcal
COMMENT=	Desktop calendar

WRKSRC=		${WRKDIR}/gDeskCal-0.57.1
NO_BUILD=	yes

REPLACE_PYTHON=	gdeskcal

PYTHON_VERSIONS_INCOMPATIBLE=	33 34 # py-xml, py-gtk2

INSTALLATION_DIRS=	bin lib/gdeskcal

post-extract:
	${RM} ${WRKSRC}/data/format.xml~

do-install:
	(cd ${WRKSRC} && ${CP} -r . ${DESTDIR}${PREFIX}/lib/gdeskcal)
	${PY_COMPILE_ALL} ${DESTDIR}${PREFIX}/lib/gdeskcal/code
	${LN} -s ../lib/gdeskcal/gdeskcal ${DESTDIR}${PREFIX}/bin

.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../textproc/py-xml/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"