aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-asv
diff options
context:
space:
mode:
authorJohann Visagie <wjv@FreeBSD.org>2002-04-12 09:29:24 +0000
committerJohann Visagie <wjv@FreeBSD.org>2002-04-12 09:29:24 +0000
commiteea0fcbd00e62d7be3c9d1001a23c05acb903084 (patch)
tree54ab5a35ba06c20c3ee89c955bc0b96f384ea45e /textproc/py-asv
parent077d6b874c71d03af5f2d37555053d21b19a3e5d (diff)
downloadports-eea0fcbd00e62d7be3c9d1001a23c05acb903084.tar.gz
ports-eea0fcbd00e62d7be3c9d1001a23c05acb903084.zip
Notes
Diffstat (limited to 'textproc/py-asv')
-rw-r--r--textproc/py-asv/Makefile16
-rw-r--r--textproc/py-asv/pkg-plist18
2 files changed, 16 insertions, 18 deletions
diff --git a/textproc/py-asv/Makefile b/textproc/py-asv/Makefile
index d0da82b00197..d7da90d8bbb6 100644
--- a/textproc/py-asv/Makefile
+++ b/textproc/py-asv/Makefile
@@ -7,18 +7,16 @@
PORTNAME= asv
PORTVERSION= 0.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= textproc python
MASTER_SITES= http://tratt.net/laurie/python/asv/releases/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= wjv@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
-PYTHON_VERSION= python2.1
+USE_PYTHON= yes
ASV_BASEDIR= ${PREFIX}/lib/${PYTHON_VERSION}/site-packages
-ASV_DOCDIR= ${PREFIX}/share/doc/py-asv
-ASV_EGDIR= ${PREFIX}/share/examples/py-asv
do-build:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
@@ -30,13 +28,13 @@ do-install:
@${INSTALL_SCRIPT} ${WRKDIR}/asv.sh ${PREFIX}/bin/asv
@${INSTALL_DATA} ${WRKSRC}/ASV.* ${ASV_BASEDIR}
.if !defined(NOPORTDOCS)
- @${MKDIR} ${ASV_DOCDIR}
+ @${MKDIR} ${DOCSDIR}
.for docfile in INSTALL README THANKS
- @${INSTALL_DATA} ${WRKSRC}/${docfile} ${ASV_DOCDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
- @${MKDIR} ${ASV_EGDIR}
+ @${MKDIR} ${EXAMPLESDIR}
.for egfile in asv_example.* example_data.csv
- @${INSTALL_DATA} ${WRKSRC}/${egfile} ${ASV_EGDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${egfile} ${EXAMPLESDIR}
.endfor
.endif
diff --git a/textproc/py-asv/pkg-plist b/textproc/py-asv/pkg-plist
index 0b07a22d949f..d4c99b1a9bfc 100644
--- a/textproc/py-asv/pkg-plist
+++ b/textproc/py-asv/pkg-plist
@@ -2,12 +2,12 @@ bin/asv
lib/%%PYTHON_VERSION%%/site-packages/ASV.py
lib/%%PYTHON_VERSION%%/site-packages/ASV.pyc
lib/%%PYTHON_VERSION%%/site-packages/ASV.pyo
-%%PORTDOCS%%share/doc/py-asv/INSTALL
-%%PORTDOCS%%share/doc/py-asv/README
-%%PORTDOCS%%share/doc/py-asv/THANKS
-%%PORTDOCS%%share/examples/py-asv/asv_example.py
-%%PORTDOCS%%share/examples/py-asv/asv_example.pyc
-%%PORTDOCS%%share/examples/py-asv/asv_example.pyo
-%%PORTDOCS%%share/examples/py-asv/example_data.csv
-%%PORTDOCS%%@dirrm share/examples/py-asv
-%%PORTDOCS%%@dirrm share/doc/py-asv
+%%PORTDOCS%%share/doc/asv/INSTALL
+%%PORTDOCS%%share/doc/asv/README
+%%PORTDOCS%%share/doc/asv/THANKS
+%%PORTDOCS%%share/examples/asv/asv_example.py
+%%PORTDOCS%%share/examples/asv/asv_example.pyc
+%%PORTDOCS%%share/examples/asv/asv_example.pyo
+%%PORTDOCS%%share/examples/asv/example_data.csv
+%%PORTDOCS%%@dirrm share/examples/asv
+%%PORTDOCS%%@dirrm share/doc/asv