diff options
author | ijliao <ijliao@FreeBSD.org> | 2004-08-02 14:02:45 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2004-08-02 14:02:45 +0800 |
commit | 1dde73e06e989f7c9aecaa78aa477e23abb0a838 (patch) | |
tree | f248689f4ae02679560614e59746c36198bfcf51 /textproc/py-docutils/Makefile | |
parent | a3f544f57819f0c029e65a2354012eb7c97e7674 (diff) | |
download | freebsd-ports-gnome-1dde73e06e989f7c9aecaa78aa477e23abb0a838.tar.gz freebsd-ports-gnome-1dde73e06e989f7c9aecaa78aa477e23abb0a838.tar.zst freebsd-ports-gnome-1dde73e06e989f7c9aecaa78aa477e23abb0a838.zip |
upgrade to 0.3.5
PR: 69896
Submitted by: Choe Cheng-Dae <whitekid@netian.com>
Diffstat (limited to 'textproc/py-docutils/Makefile')
-rw-r--r-- | textproc/py-docutils/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/textproc/py-docutils/Makefile b/textproc/py-docutils/Makefile index 36b58b871ee4..644d9b864f8f 100644 --- a/textproc/py-docutils/Makefile +++ b/textproc/py-docutils/Makefile @@ -7,7 +7,7 @@ # PORTNAME= docutils -PORTVERSION= 0.3 +PORTVERSION= 0.3.5 CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -19,4 +19,14 @@ COMMENT= Python Documentation Utilities USE_PYTHON= yes USE_PYDISTUTILS= yes +PLIST_FILES= bin/rst2html bin/rst2latex + +post-install: + @${MV} -f ${PREFIX}/bin/rst2html.py ${PREFIX}/bin/rst2html + @${MV} -f ${PREFIX}/bin/rst2latex.py ${PREFIX}/bin/rst2latex + @${FIND} ${PYTHON_SITELIBDIR}/docutils ! -type d | \ + ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} + @${FIND} ${PYTHON_SITELIBDIR}/docutils -type d | ${SORT} -r | \ + ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} + .include <bsd.port.mk> |