aboutsummaryrefslogtreecommitdiff
path: root/japanese/tegaki-recognize
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-07-03 02:13:47 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-07-03 02:13:47 +0000
commit1785e5c70ab298a30757362a46a32886c7af858b (patch)
tree1ec29f2944745aa2fb4149426fbe1b122583f014 /japanese/tegaki-recognize
parenta0c438c082e57abb17c834afd15efe00763c490c (diff)
downloadports-1785e5c70ab298a30757362a46a32886c7af858b.tar.gz
ports-1785e5c70ab298a30757362a46a32886c7af858b.zip
Notes
Diffstat (limited to 'japanese/tegaki-recognize')
-rw-r--r--japanese/tegaki-recognize/Makefile19
-rw-r--r--japanese/tegaki-recognize/pkg-descr2
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 <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
+ @${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.post.mk>
+.include <bsd.port.mk>
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/