pkgsrc/time/gdeskcal/Makefile
2008-06-20 01:09:05 +00:00

34 lines
898 B
Makefile

# $NetBSD: Makefile,v 1.28 2008/06/20 01:09:38 joerg Exp $
#
DISTNAME= gDeskCal-0_57_1
PKGNAME= gdeskcal-0.57.1
PKGREVISION= 4
CATEGORIES= time
MASTER_SITES= http://www.pycage.de/download/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.pycage.de/\#gdeskcal
COMMENT= Desktop calendar
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/gDeskCal-0.57.1
NO_BUILD= yes
PYTHON_PATCH_SCRIPTS= gdeskcal
INSTALLATION_DIRS= bin lib/gdeskcal
post-extract:
${RM} ${WRKSRC}/data/format.xml~
do-install:
(cd ${WRKSRC} && ${CP} -r . ${DESTDIR}${PREFIX}/lib/gdeskcal)
${PYTHONBIN} ${LOCALBASE}/${PYLIB}/compileall.py \
${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"