Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 2017 20:52:32 +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: r432574 - head/devel/pyrex
Message-ID:  <201701272052.v0RKqWp2085164@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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/



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