Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2014 02:13:47 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360337 - head/japanese/tegaki-recognize
Message-ID:  <201407030213.s632DlUd044793@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407030213.s632DlUd044793>