[Midnightbsd-cvs] mports: Makefile: Fake fix.
ctriv at midnightbsd.org
ctriv at midnightbsd.org
Wed Nov 7 18:43:50 EST 2007
Log Message:
-----------
Fake fix.
Modified Files:
--------------
mports/benchmarks/pybench:
Makefile (r1.1 -> r1.2)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/benchmarks/pybench/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -L benchmarks/pybench/Makefile -L benchmarks/pybench/Makefile -u -r1.1 -r1.2
--- benchmarks/pybench/Makefile
+++ benchmarks/pybench/Makefile
@@ -8,11 +8,13 @@
PORTNAME= pybench
PORTVERSION= 2.0
+PORTREVISION= 1
CATEGORIES= benchmarks python
MASTER_SITES= http://downloads.egenix.com/python/
MAINTAINER= ports at MidnightBSD.org
COMMENT= An extensible benchmark suite for Python
+LICENSE= unknown
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -23,12 +25,14 @@
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
+pre-fake:
+ ${PRINTF} '#!/bin/sh\n${PYTHON_CMD} ${DATADIR}/pybench.py "$$@"\n' \
+ > ${WRKDIR}/pybench.sh
+
do-install:
- @${MKDIR} ${DATADIR}
+ ${MKDIR} ${DATADIR}
@(cd ${WRKSRC} && ${TAR} --exclude README -c -f - .) \
| (cd ${DATADIR} && ${TAR} --unlink -x -f -)
- @${PRINTF} '#!/bin/sh\n${PYTHON_CMD} ${DATADIR}/pybench.py "$$@"\n' \
- > ${WRKDIR}/pybench.sh
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
More information about the Midnightbsd-cvs
mailing list