freebsd-ports/japanese/tegaki-recognize/Makefile
Ruslan Makhmatkhanov 64f394e605 - update to 0.3.1.2
While I'm here:
- drop LICENSE_FILE that isn't needed for well-known licenses
- strict python version to 2.x only (apps using pygtk do not (and will not)
  support python3)
- do not try to remove directories that we not installing

PR:		168181
Submitted by:	Timothy Beyer <beyert at cs.ucr dot edu> (maintainer)
2012-05-22 19:38:34 +00:00

39 lines
1,008 B
Makefile

# New ports collection makefile for: tegaki-recognize
# Date created: 15 Aug 2010
# Whom: Timothy Beyer <beyert@cs.ucr.edu>
#
# $FreeBSD$
#
PORTNAME= tegaki
PORTVERSION= 0.3.1.2
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= zinnia.0:${PORTSDIR}/japanese/zinnia
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/tegakigtk/recognizer.py:${PORTSDIR}/japanese/py-tegaki-gtk
USE_PYTHON= -2.7
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= ${PORTNAME}_recognize
.include <bsd.port.pre.mk>
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.post.mk>