svn commit: r432574 - head/devel/pyrex
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Jan 27 20:52:33 UTC 2017
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 at FreeBSD.org
+MAINTAINER= sunpoet at 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/
More information about the svn-ports-all
mailing list