Date: Fri, 9 Jun 2017 14:09:04 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r442992 - head/net/py-tofu Message-ID: <201706091409.v59E94LL005461@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Fri Jun 9 14:09:04 2017 New Revision: 442992 URL: https://svnweb.freebsd.org/changeset/ports/442992 Log: Add LICENSE - Add missing OPTIONS_DEFINE=EXMAPLES - Add NO_ARCH - Convert to options target helper - While I'm here: - Pet portlint: move DIST_SUBDIR upward - Sort USE_PYTHON - Remove no-op WRKSRC Approved by: portmgr (blanket) Modified: head/net/py-tofu/Makefile Modified: head/net/py-tofu/Makefile ============================================================================== --- head/net/py-tofu/Makefile Fri Jun 9 13:57:17 2017 (r442991) +++ head/net/py-tofu/Makefile Fri Jun 9 14:09:04 2017 (r442992) @@ -7,20 +7,24 @@ CATEGORIES= net python MASTER_SITES= http://download.gna.org/soya/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Tofu-${PORTVERSION} +DIST_SUBDIR= python MAINTAINER= acm@FreeBSD.org COMMENT= Practical high-level network game engine -DIST_SUBDIR= python +LICENSE= GPLv2+ + +OPTIONS_DEFINE= EXAMPLES + +NO_ARCH= yes USES= python twisted tar:bzip2 -USE_PYTHON= distutils autoplist -WRKSRC= ${WRKDIR}/Tofu-${PORTVERSION} +USE_PYTHON= autoplist distutils EXAMPLESDIR= ${PREFIX}/share/examples/py-tofu PORTEXAMPLES= * OPTIONS_DEFINE= EXAMPLES -post-install: +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/demo/* ${STAGEDIR}${EXAMPLESDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706091409.v59E94LL005461>