aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-ltxml
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2003-11-15 06:45:47 +0800
committerpav <pav@FreeBSD.org>2003-11-15 06:45:47 +0800
commit8ff87646a0076a82896cf6beddf6f24303212548 (patch)
tree418b6e6f70232a02e61b752cc465c16ce2fb3d0b /textproc/py-ltxml
parente87d7335269fb24a36c14a00459e5c38c19eaf5b (diff)
downloadfreebsd-ports-gnome-8ff87646a0076a82896cf6beddf6f24303212548.tar.gz
freebsd-ports-gnome-8ff87646a0076a82896cf6beddf6f24303212548.tar.zst
freebsd-ports-gnome-8ff87646a0076a82896cf6beddf6f24303212548.zip
Fix checksum mismatch. Author rerolled distfile adding this changelog
entry and corresponding code: Revision 1.48 2003/06/03 15:20:17 ht work with 16- or 32-bit Python Spotted by: bento Approved by: adamw (mentor)
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