pkgsrc/inputmethod/tegaki-python/Makefile

32 lines
969 B
Makefile

# $NetBSD: Makefile,v 1.2 2012/03/10 10:56:15 obache Exp $
#
DISTNAME= tegaki-python-0.3.1
PKGREVISION= 1
CATEGORIES= inputmethod
MASTER_SITES= http://www.tegaki.org/releases/${PKGVERSION_NOREV}/
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://www.tegaki.org/
COMMENT= Base Python library for the Tegaki project
LICENSE= gnu-gpl-v2
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
# optional for desktop applications, see tegaki/character.py
#DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
DEPENDS+= ${PYPKGPREFIX}-zinnia>=0.05:../../inputmethod/py-zinnia
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= # none
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= pre-configure
SUBST_FILES.prefix= tegaki/engine.py
SUBST_SED.prefix= -e 's|/usr/local/share|${PREFIX}/share|g'
EGG_NAME= ${DISTNAME:S/-/_/}
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"