- Add stage support

- Improve WWW
- Add DOCS option

PR:		ports/191501
Submitted by:	beyert@cs.ucr.edu
This commit is contained in:
Danilo Egea Gondolfo 2014-07-03 02:13:47 +00:00
parent a0c438c082
commit 1785e5c70a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360337
2 changed files with 9 additions and 12 deletions

View file

@ -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>

View file

@ -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/