mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
- Pass maintainership to submitter.
- Use better PORTDOCS instalattion form. PR: ports/139459 Submitted by: Sylvio Cesar <scjamorim@bsd.com.br>
This commit is contained in:
parent
6bf157d0b1
commit
a2a35e5790
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=243022
@ -10,7 +10,7 @@ PORTVERSION= 2.0
|
||||
CATEGORIES= benchmarks python
|
||||
MASTER_SITES= http://downloads.egenix.com/python/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= scjamorim@bsd.com.br
|
||||
COMMENT= An extensible benchmark suite for Python
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
@ -18,6 +18,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
USE_ZIP= yes
|
||||
USE_PYTHON= yes
|
||||
|
||||
PORTDOCS= README
|
||||
|
||||
do-build:
|
||||
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
|
||||
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
|
||||
@ -30,7 +32,9 @@ do-install:
|
||||
> ${WRKDIR}/pybench.sh
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
.for docs in ${PORTDOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
@${INSTALL_SCRIPT} ${WRKDIR}/pybench.sh ${PREFIX}/bin/pybench
|
||||
|
||||
|
@ -66,8 +66,6 @@ bin/pybench
|
||||
%%DATADIR%%/systimes.py
|
||||
%%DATADIR%%/systimes.pyc
|
||||
%%DATADIR%%/systimes.pyo
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
@dirrmtry share/pybench
|
||||
@dirrm %%DATADIR%%/package
|
||||
@dirrm %%DATADIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user