summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2000-06-16 07:38:43 +0000
committertg <tg@FreeBSD.org>2000-06-16 07:38:43 +0000
commit5600809f38f9851c85dfdf67859ed6df78800ba9 (patch)
tree84ecb9bc02641ed2855c953295405579e0c8ce5b /textproc
parentde8ed5f2e16ce1ed60675336124dd2533655a99b (diff)
downloadFreeBSD-ports-5600809f38f9851c85dfdf67859ed6df78800ba9.zip
FreeBSD-ports-5600809f38f9851c85dfdf67859ed6df78800ba9.tar.gz
Make this actually work. Fix MASTER_SITES while I'm here.
PR: 19259 Submitted by: Dominic Mitchell <hdm@mistral.co.uk>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-mxTextTools/Makefile8
-rw-r--r--textproc/py-mxTextTools/pkg-plist6
2 files changed, 11 insertions, 3 deletions
diff --git a/textproc/py-mxTextTools/Makefile b/textproc/py-mxTextTools/Makefile
index aabb493..9b573bb 100644
--- a/textproc/py-mxTextTools/Makefile
+++ b/textproc/py-mxTextTools/Makefile
@@ -8,7 +8,7 @@
PORTNAME= py-mxTextTools
PORTVERSION= 1.1.1
CATEGORIES= textproc python
-MASTER_SITES= http://starship.skyport.net/~lemburg/
+MASTER_SITES= http://starship.python.net/~lemburg/
DISTNAME= mxTextTools-1.1.1
MAINTAINER= tg@FreeBSD.org
@@ -32,11 +32,15 @@ post-extract:
do-configure:
@(cd ${WRKSRC} && ${CONFIGURE_ENV} ${MAKE} -f Makefile.pre.in boot)
-post-install:
+do-install:
@${MKDIR} ${TEXTTOOLSDIR}
${INSTALL_DATA} ${WRKDIR}/TextTools/*.py ${TEXTTOOLSDIR}
@${MKDIR} ${TEXTTOOLSDIR}/Constants
${INSTALL_DATA} ${WRKDIR}/TextTools/Constants/*.py ${TEXTTOOLSDIR}/Constants
+ @${MKDIR} ${TEXTTOOLSDIR}/mxTextTools
+.for file in __init__.py mxTextTools.so
+ ${INSTALL_DATA} ${WRKDIR}/TextTools/mxTextTools/${file} ${TEXTTOOLSDIR}/mxTextTools
+.endfor
@${PREFIX}/bin/python ${PYTHONSCRIPTDIR}/compileall.py ${TEXTTOOLSDIR}
@${PREFIX}/bin/python -O ${PYTHONSCRIPTDIR}/compileall.py ${TEXTTOOLSDIR}
@${MKDIR} ${EXAMPLEDIR}
diff --git a/textproc/py-mxTextTools/pkg-plist b/textproc/py-mxTextTools/pkg-plist
index ddeaf85..32e485f 100644
--- a/textproc/py-mxTextTools/pkg-plist
+++ b/textproc/py-mxTextTools/pkg-plist
@@ -14,7 +14,11 @@ lib/python1.5/site-packages/TextTools/TextTools.pyo
lib/python1.5/site-packages/TextTools/__init__.py
lib/python1.5/site-packages/TextTools/__init__.pyc
lib/python1.5/site-packages/TextTools/__init__.pyo
-lib/python1.5/site-packages/mxTextTools.so
+lib/python1.5/site-packages/TextTools/mxTextTools/__init__.py
+lib/python1.5/site-packages/TextTools/mxTextTools/__init__.pyc
+lib/python1.5/site-packages/TextTools/mxTextTools/__init__.pyo
+lib/python1.5/site-packages/TextTools/mxTextTools/mxTextTools.so
+@dirrm lib/python1.5/site-packages/TextTools/mxTextTools
@dirrm lib/python1.5/site-packages/TextTools
share/doc/py-mxTextTools/mxTextTools.html
@dirrm share/doc/py-mxTextTools
OpenPOWER on IntegriCloud