2014-05-01 11:42:42 +02:00
|
|
|
# $NetBSD: Makefile,v 1.12 2014/05/01 09:42:42 obache Exp $
|
2010-08-07 14:54:45 +02:00
|
|
|
|
|
|
|
DISTNAME= tegaki-wagomu-0.3.1
|
2013-01-25 13:50:02 +01:00
|
|
|
PKGREVISION= 6
|
2010-08-07 14:54:45 +02:00
|
|
|
CATEGORIES= inputmethod
|
2010-08-09 03:43:14 +02:00
|
|
|
MASTER_SITES= http://www.tegaki.org/releases/${PKGVERSION_NOREV}/ \
|
|
|
|
http://www.tegaki.org/releases/0.3/
|
2010-08-07 14:54:45 +02:00
|
|
|
DISTFILES= tegaki-wagomu-0.3${EXTRACT_SUFX} ${DEFAULT_DISTFILES}
|
|
|
|
|
|
|
|
MAINTAINER= obache@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.tegaki.org/
|
|
|
|
COMMENT= Simple handwriting recognition engine based on DTW
|
|
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
|
|
|
|
DEPENDS+= tegaki-python>=0.3:../../inputmethod/tegaki-python
|
2013-01-25 13:50:02 +01:00
|
|
|
BUILD_DEPENDS+= swig-1.[0-9]*:../../devel/swig
|
2010-08-07 14:54:45 +02:00
|
|
|
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
|
|
|
|
# some files are missing in distfile, taken from 0.3.
|
2014-05-01 11:42:42 +02:00
|
|
|
# http://sourceforge.net/p/tegaki/bugs/8/
|
2010-08-07 14:54:45 +02:00
|
|
|
post-extract:
|
|
|
|
${CP} ${WRKDIR}/tegaki-wagomu-0.3/tegakiwagomu.py ${WRKSRC}
|
|
|
|
${CP} ${WRKDIR}/tegaki-wagomu-0.3/wagomu.h ${WRKSRC}
|
|
|
|
|
|
|
|
SUBST_CLASSES+= fixver
|
|
|
|
SUBST_STAGE.fixver= pre-configure
|
|
|
|
SUBST_FILES.fixver= tegakiwagomu.py
|
|
|
|
SUBST_SED.fixver= -e 's|0\.3|${PKGVERSION_NOREV}|'
|
|
|
|
|
|
|
|
EGG_NAME= ${DISTNAME:S/-/_/}
|
2014-01-25 11:29:56 +01:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 0.3.1
|
2010-08-07 14:54:45 +02:00
|
|
|
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
|
|
.include "../../lang/python/distutils.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|