1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/japanese/tegaki-recognize/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

39 lines
1.0 KiB
Makefile

# Created by: Timothy Beyer <beyert@cs.ucr.edu>
# $FreeBSD$
PORTNAME= tegaki
PORTVERSION= 0.3.1.2
PORTREVISION= 1
CATEGORIES= japanese python
MASTER_SITES= http://www.tegaki.org/releases/${PORTVERSION:.2=}/
PKGNAMESUFFIX= -recognize
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
MAINTAINER= beyert@cs.ucr.edu
COMMENT= Open-Source Chinese and Japanese Handwriting Recognition
LICENSE= GPLv2
LIB_DEPENDS= libzinnia.so:japanese/zinnia
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/tegakigtk/recognizer.py:japanese/py-tegaki-gtk@${PY_FLAVOR}
OPTIONS_DEFINE= DOCS
USES= python:2.7
USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= ${PORTNAME}_recognize
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
post-patch:
@${REINPLACE_CMD} \
-e 's,distutils\.command\.install ,setuptools\.command\.install ,' \
${WRKSRC}/setup.py
.include <bsd.port.mk>