From eea0fcbd00e62d7be3c9d1001a23c05acb903084 Mon Sep 17 00:00:00 2001 From: Johann Visagie Date: Fri, 12 Apr 2002 09:29:24 +0000 Subject: [PATCH] - Remove PYTHON_VERSION=python2.1 restriction - Implement DOCSDIR and EXAMPLESDIR - Bump PORTREVISION PR: 36914 (PYTHON_VERSION restriction) Submitted by: Alan Eldridge --- textproc/py-asv/Makefile | 16 +++++++--------- textproc/py-asv/pkg-plist | 18 +++++++++--------- 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