diff options
author | sat <sat@FreeBSD.org> | 2007-04-23 11:39:15 +0000 |
---|---|---|
committer | sat <sat@FreeBSD.org> | 2007-04-23 11:39:15 +0000 |
commit | a70aa65b3c50c6ae82ed319c06201cb982b914bf (patch) | |
tree | 6497363566460f1cf2a798768e020d4a5f36a992 /textproc | |
parent | b6291770649d6f1c8eda5d58d4a7c1e668e433fd (diff) | |
download | FreeBSD-ports-a70aa65b3c50c6ae82ed319c06201cb982b914bf.zip FreeBSD-ports-a70aa65b3c50c6ae82ed319c06201cb982b914bf.tar.gz |
- Install both as a module and a script to ease reuse by other ports
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/py-html2text/Makefile | 5 | ||||
-rw-r--r-- | textproc/py-html2text/distinfo | 6 | ||||
-rw-r--r-- | textproc/py-html2text/pkg-plist | 4 |
3 files changed, 11 insertions, 4 deletions
diff --git a/textproc/py-html2text/Makefile b/textproc/py-html2text/Makefile index 74bdc62..9cc036a 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 a6f653d..e9921c0 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 0000000..4dcdeca --- /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 |