From owner-svn-ports-all@freebsd.org Fri Jan 27 20:52:33 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 AEEF8CC49DB; Fri, 27 Jan 2017 20:52:33 +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 644221AE; Fri, 27 Jan 2017 20:52:33 +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 v0RKqWET085166; Fri, 27 Jan 2017 20:52:32 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0RKqWp2085164; Fri, 27 Jan 2017 20:52:32 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201701272052.v0RKqWp2085164@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, 27 Jan 2017 20:52:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432574 - head/devel/pyrex 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, 27 Jan 2017 20:52:33 -0000 Author: sunpoet Date: Fri Jan 27 20:52:32 2017 New Revision: 432574 URL: https://svnweb.freebsd.org/changeset/ports/432574 Log: Respect DOCS and EXAMPLES - Add OPTIONS_DEFINE=DOCS EXAMPLES - Add LICENSE_FILE - Sort USE_PYTHON - Use PORTDOCS and PORTEXAMPLES - Convert to options target helper - Use COPYTREE_SHARE - Reformat pkg-descr - Update WWW - Take maintainership Deleted: head/devel/pyrex/pkg-plist Modified: head/devel/pyrex/Makefile head/devel/pyrex/pkg-descr Modified: head/devel/pyrex/Makefile ============================================================================== --- head/devel/pyrex/Makefile Fri Jan 27 20:48:25 2017 (r432573) +++ head/devel/pyrex/Makefile Fri Jan 27 20:52:32 2017 (r432574) @@ -8,21 +8,26 @@ MASTER_SITES= http://www.cosc.canterbury PKGNAMEPREFIX= ${PYTHONPKGNAMEPREFIX} DISTNAME= Pyrex-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Programming Language for writing Python extension modules LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +OPTIONS_DEFINE= DOCS EXAMPLES -USES= python:2 USE_PYTHON= autoplist distutils +USES= python:2 + +PORTDOCS= * +PORTEXAMPLES= * + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR}/ + cd ${WRKSRC}/Doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ -post-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR}/Manual - @cd ${WRKSRC}/Doc && ${INSTALL_DATA} ./[^M]* ${STAGEDIR}${DOCSDIR} - @cd ${WRKSRC}/Doc/Manual && ${INSTALL_DATA} ./* ${STAGEDIR}${DOCSDIR}/Manual - @cd ${WRKSRC}/Demos && ${MAKE} clean - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - @${TAR} -C ${WRKSRC}/Demos -cf - . | \ - ${TAR} -C ${STAGEDIR}${EXAMPLESDIR} -xf - +post-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ + cd ${WRKSRC}/Demos && ${MAKE} clean && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include Modified: head/devel/pyrex/pkg-descr ============================================================================== --- head/devel/pyrex/pkg-descr Fri Jan 27 20:48:25 2017 (r432573) +++ head/devel/pyrex/pkg-descr Fri Jan 27 20:52:32 2017 (r432574) @@ -1,5 +1,5 @@ -Pyrex is a language specially designed for writing Python extension -modules. It's designed to bridge the gap between the nice, high-level, -easy-to-use world of Python and the messy, low-level world of C. +Pyrex is a language specially designed for writing Python extension modules. +It's designed to bridge the gap between the nice, high-level, easy-to-use world +of Python and the messy, low-level world of C. -WWW: http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/ +WWW: https://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/