aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-html2text
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-04-23 11:39:15 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-04-23 11:39:15 +0000
commitb3ca1857be5cab10d444f6e445dfce15f37cad02 (patch)
tree60dcb2ddbb99404827c5f8df3670e41bd9eadc64 /textproc/py-html2text
parent3beb256659a94751d92fab61f3a3d9bdc16f89e8 (diff)
downloadports-b3ca1857be5cab10d444f6e445dfce15f37cad02.tar.gz
ports-b3ca1857be5cab10d444f6e445dfce15f37cad02.zip
Notes
Diffstat (limited to 'textproc/py-html2text')
-rw-r--r--textproc/py-html2text/Makefile5
-rw-r--r--textproc/py-html2text/distinfo6
-rw-r--r--textproc/py-html2text/pkg-plist4
3 files changed, 11 insertions, 4 deletions
diff --git a/textproc/py-html2text/Makefile b/textproc/py-html2text/Makefile
index 74bdc623ae12..9cc036a279f8 100644
--- a/textproc/py-html2text/Makefile
+++ b/textproc/py-html2text/Makefile
@@ -16,9 +16,12 @@ COMMENT= Convert HTML into clean plain ASCII text
USE_PYTHON= yes
USE_PYDISTUTILS=yes
-PLIST_FILES= bin/${PORTNAME}.py
post-patch:
@${REINPLACE_CMD} -e '1s|.*|#!${PYTHON_CMD}|' ${WRKSRC}/${PORTNAME}.py
+post-install:
+ @${CHMOD} 755 ${PYTHON_SITELIBDIR}/${PORTNAME}.py
+ @${LN} -sf ${PYTHON_SITELIBDIR}/${PORTNAME}.py ${PREFIX}/bin/
+
.include <bsd.port.mk>
diff --git a/textproc/py-html2text/distinfo b/textproc/py-html2text/distinfo
index a6f653d2b39b..e9921c0432eb 100644
--- a/textproc/py-html2text/distinfo
+++ b/textproc/py-html2text/distinfo
@@ -1,3 +1,3 @@
-MD5 (html2text-2.2.8.tar.gz) = 8f84bd9456972ee1cccd2489f8b2535a
-SHA256 (html2text-2.2.8.tar.gz) = 81a2304eeb7006f351343e8be59214eac8352ece6ff020fd11028b5a6e10d890
-SIZE (html2text-2.2.8.tar.gz) = 3998
+MD5 (html2text-2.2.8.tar.gz) = 4888df64d1c7556f7cf3ea300bef3af2
+SHA256 (html2text-2.2.8.tar.gz) = b6754543c44448cf35f706ce8e87ce2f333987d65c7222f7a27b6c36f4e22def
+SIZE (html2text-2.2.8.tar.gz) = 4002
diff --git a/textproc/py-html2text/pkg-plist b/textproc/py-html2text/pkg-plist
new file mode 100644
index 000000000000..4dcdeca5b6dd
--- /dev/null
+++ b/textproc/py-html2text/pkg-plist
@@ -0,0 +1,4 @@
+bin/html2text.py
+%%PYTHON_SITELIBDIR%%/html2text.py
+%%PYTHON_SITELIBDIR%%/html2text.pyc
+%%PYTHON_SITELIBDIR%%/html2text.pyo