mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Add LICENSE
- Convert to new options framework - Support STAGEDIR - While I'm here: - Use PYDISTUTILS_AUTOPLIST - Use PORTEXAMPLES - Use COPYTREE_SHARE - Simplify Makefile - Remove NO_BUILD - Remove .include <bsd.port.options.mk> PR: ports/188789 Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com> (maintainer)
This commit is contained in:
parent
0bc0f42fa4
commit
4bf171cb61
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352351
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
PORTNAME= jonpy
|
PORTNAME= jonpy
|
||||||
PORTVERSION= 0.10
|
PORTVERSION= 0.10
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= www python
|
CATEGORIES= www python
|
||||||
MASTER_SITES= SF
|
MASTER_SITES= SF
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
@ -10,20 +11,21 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|||||||
MAINTAINER= 5u623l20@gmail.com
|
MAINTAINER= 5u623l20@gmail.com
|
||||||
COMMENT= Python FastCGI interface library
|
COMMENT= Python FastCGI interface library
|
||||||
|
|
||||||
USE_PYTHON= yes
|
LICENSE= MIT
|
||||||
USE_PYDISTUTILS= yes
|
|
||||||
NO_BUILD= yes
|
USE_PYTHON= yes
|
||||||
|
USE_PYDISTUTILS=yes
|
||||||
|
PYDISTUTILS_AUTOPLIST= yes
|
||||||
|
|
||||||
PORTDOCS= *
|
PORTDOCS= *
|
||||||
|
PORTEXAMPLES= *
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${MKDIR} ${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||||
.endif
|
cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
||||||
${MKDIR} ${EXAMPLESDIR}
|
|
||||||
(cd ${WRKSRC}/example && ${FIND} . | \
|
|
||||||
${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR})
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,49 +0,0 @@
|
|||||||
%%PYTHON_SITELIBDIR%%/jon/__init__.py
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/cgi.py
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/dbpool.py
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/fakefile.py
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/fcgi.py
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/mime.py
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/modpy.py
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/session.py
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/wt/__init__.py
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/wt/multiform.py
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/wt/rowaccess.py
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/wt/textblock.py
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/wt/__init__.pyc
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/wt/multiform.pyc
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/wt/rowaccess.pyc
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/wt/textblock.pyc
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/wt/__init__.pyo
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/wt/multiform.pyo
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/wt/rowaccess.pyo
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/wt/textblock.pyo
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/__init__.pyc
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/cgi.pyc
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/dbpool.pyc
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/fakefile.pyc
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/fcgi.pyc
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/mime.pyc
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/modpy.pyc
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/session.pyc
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/__init__.pyo
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/cgi.pyo
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/dbpool.pyo
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/fakefile.pyo
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/fcgi.pyo
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/mime.pyo
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/modpy.pyo
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/session.pyo
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/wsgi.py
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/wsgi.pyc
|
|
||||||
%%PYTHON_SITELIBDIR%%/jon/wsgi.pyo
|
|
||||||
%%EXAMPLESDIR%%/wt/.htaccess
|
|
||||||
%%EXAMPLESDIR%%/wt/printenv.html.py
|
|
||||||
%%EXAMPLESDIR%%/cgi-bin/wt.py
|
|
||||||
%%EXAMPLESDIR%%/printenv.html
|
|
||||||
%%EXAMPLESDIR%%/.htaccess
|
|
||||||
@dirrm %%PYTHON_SITELIBDIR%%/jon/wt
|
|
||||||
@dirrm %%PYTHON_SITELIBDIR%%/jon
|
|
||||||
@dirrm %%EXAMPLESDIR%%/cgi-bin
|
|
||||||
@dirrm %%EXAMPLESDIR%%/wt
|
|
||||||
@dirrm %%EXAMPLESDIR%%
|
|
Loading…
Reference in New Issue
Block a user