From 1785e5c70ab298a30757362a46a32886c7af858b Mon Sep 17 00:00:00 2001 From: Danilo Egea Gondolfo Date: Thu, 3 Jul 2014 02:13:47 +0000 Subject: [PATCH] - Add stage support - Improve WWW - Add DOCS option PR: ports/191501 Submitted by: beyert@cs.ucr.edu --- japanese/tegaki-recognize/Makefile | 19 ++++++++----------- japanese/tegaki-recognize/pkg-descr | 2 +- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/japanese/tegaki-recognize/Makefile b/japanese/tegaki-recognize/Makefile index e82b79d24407..0cf263f39540 100644 --- a/japanese/tegaki-recognize/Makefile +++ b/japanese/tegaki-recognize/Makefile @@ -16,25 +16,22 @@ LICENSE= GPLv2 LIB_DEPENDS= libzinnia.so:${PORTSDIR}/japanese/zinnia RUN_DEPENDS= ${PYTHON_SITELIBDIR}/tegakigtk/recognizer.py:${PORTSDIR}/japanese/py-tegaki-gtk +OPTIONS_DEFINE= DOCS + USE_PYTHON= 2 USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= ${PORTNAME}_recognize -NO_STAGE= yes -.include - 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 + @${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 +.include diff --git a/japanese/tegaki-recognize/pkg-descr b/japanese/tegaki-recognize/pkg-descr index 2b1592fd471b..699b6616e727 100644 --- a/japanese/tegaki-recognize/pkg-descr +++ b/japanese/tegaki-recognize/pkg-descr @@ -6,4 +6,4 @@ Tegaki Main program: * supports 2 different recognition engines * aspires to work on both desktop-PCs and mobile devices -WWW: http://www.tegaki.org/ +WWW: http://www.tegaki.org/