aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-ltxml
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-ltxml')
-rw-r--r--textproc/py-ltxml/Makefile5
-rw-r--r--textproc/py-ltxml/distinfo2
2 files changed, 6 insertions, 1 deletions
diff --git a/textproc/py-ltxml/Makefile b/textproc/py-ltxml/Makefile
index 8b4e2b1c8ffa..54aea5fa917b 100644
--- a/textproc/py-ltxml/Makefile
+++ b/textproc/py-ltxml/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ltxml
PORTVERSION= 1.3
+PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= ftp://ftp.cogsci.ed.ac.uk/pub/LTXML/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -23,6 +24,10 @@ USE_PYDISTUTILS= yes
INSTALLS_SHLIB= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
+USE_REINPLACE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/projects/ltg/projects/lcontrib|${LOCALBASE}|' ${WRKSRC}/setup.py
post-install:
.if !defined(NOPORTDOCS)
diff --git a/textproc/py-ltxml/distinfo b/textproc/py-ltxml/distinfo
index d73550c492df..cbbcb18c2862 100644
--- a/textproc/py-ltxml/distinfo
+++ b/textproc/py-ltxml/distinfo
@@ -1 +1 @@
-MD5 (PyLTXML-1.3.tar.gz) = a0f0434c399d2f00e18d1da106dc1707
+MD5 (PyLTXML-1.3.tar.gz) = 4e2eea613868da8115c858e1a872da5e