From owner-svn-ports-all@freebsd.org Fri Jun 9 14:09:05 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B4DBFBF574E; Fri, 9 Jun 2017 14:09:05 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 820D068D43; Fri, 9 Jun 2017 14:09:05 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v59E94es005462; Fri, 9 Jun 2017 14:09:04 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v59E94LL005461; Fri, 9 Jun 2017 14:09:04 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201706091409.v59E94LL005461@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Fri, 9 Jun 2017 14:09:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r442992 - head/net/py-tofu X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2017 14:09:05 -0000 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}