svn commit: r360337 - head/japanese/tegaki-recognize
Danilo Egea Gondolfo
danilo at FreeBSD.org
Thu Jul 3 02:13:48 UTC 2014
Author: danilo
Date: Thu Jul 3 02:13:47 2014
New Revision: 360337
URL: http://svnweb.freebsd.org/changeset/ports/360337
QAT: https://qat.redports.org/buildarchive/r360337/
Log:
- Add stage support
- Improve WWW
- Add DOCS option
PR: ports/191501
Submitted by: beyert at cs.ucr.edu
Modified:
head/japanese/tegaki-recognize/Makefile
head/japanese/tegaki-recognize/pkg-descr
Modified: head/japanese/tegaki-recognize/Makefile
==============================================================================
--- head/japanese/tegaki-recognize/Makefile Thu Jul 3 01:56:05 2014 (r360336)
+++ head/japanese/tegaki-recognize/Makefile Thu Jul 3 02:13:47 2014 (r360337)
@@ -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>
Modified: head/japanese/tegaki-recognize/pkg-descr
==============================================================================
--- head/japanese/tegaki-recognize/pkg-descr Thu Jul 3 01:56:05 2014 (r360336)
+++ head/japanese/tegaki-recognize/pkg-descr Thu Jul 3 02:13:47 2014 (r360337)
@@ -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/
More information about the svn-ports-all
mailing list