clean-up a bit.
Install only the StandardGenerator to ${PYSITELIB} the rest goes to examples/ht2html. Also move the *.ht files (and friends) to examples.
This commit is contained in:
parent
3564e84e38
commit
76272a9fe8
2 changed files with 43 additions and 45 deletions
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.1.1.1 2003/06/22 13:48:41 marc Exp $
|
# $NetBSD: Makefile,v 1.2 2003/06/23 00:10:07 marc Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
DISTNAME= ht2html-2.0
|
DISTNAME= ht2html-2.0
|
||||||
|
@ -14,20 +14,30 @@ PY_PATCHPLIST= yes
|
||||||
|
|
||||||
PYTHON_PATCH_SCRIPTS= ht2html.py
|
PYTHON_PATCH_SCRIPTS= ht2html.py
|
||||||
|
|
||||||
DOCDIR= ${PREFIX}/share/doc/html/ht2html
|
EGDIR= ${PREFIX}/share/examples/ht2html
|
||||||
PAX_SUBST= -s '/calcroot\.py[co]*//' -s '/ht2html\.py[co]*//'
|
EGFILES= BAWGenerator.py JPyLocalGenerator.py
|
||||||
PY_PAX= ${PAX} ${PAX_SUBST} -rw -pp -pm
|
EGFILES+= IPC8Generator.py PDOGenerator.py
|
||||||
|
EGFILES+= JPyGenerator.py SelfGenerator.py
|
||||||
|
|
||||||
|
LIBFILES= Banner.* HTParser.* LinkFixer.*
|
||||||
|
LIBFILES+= Sidebar.* Skeleton.* StandardGenerator.*
|
||||||
|
|
||||||
do-build:
|
do-build:
|
||||||
${PYTHONBIN} ${PREFIX}/${PYLIB}/compileall.py \
|
${PYTHONBIN} ${PREFIX}/${PYLIB}/compileall.py \
|
||||||
${WRKSRC}
|
${PY_COMPILE_EXCLUDE} ${WRKSRC}
|
||||||
${PYTHONBIN} -O ${PREFIX}/${PYLIB}/compileall.py \
|
${PYTHONBIN} -O ${PREFIX}/${PYLIB}/compileall.py \
|
||||||
${WRKSRC}
|
${PY_COMPILE_EXCLUDE} ${WRKSRC}
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_DATA_DIR} ${DOCDIR}
|
${INSTALL_DATA_DIR} ${EGDIR}
|
||||||
cd ${WRKSRC}/doc && ${PAX} -rw -pp -pm . ${DOCDIR}
|
cd ${WRKSRC}/doc && ${PAX} -rw -pp -pm . ${EGDIR}
|
||||||
cd ${WRKSRC} && ${PY_PAX} *.py* ${PREFIX}/${PYSITELIB}
|
for egfile in ${EGFILES}; do \
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/$${egfile} ${EGDIR}; \
|
||||||
|
done
|
||||||
|
for libfile in ${LIBFILES}; do \
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/$${libfile} \
|
||||||
|
${PREFIX}/${PYSITELIB}; \
|
||||||
|
done
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/ht2html.py ${PREFIX}/bin
|
${INSTALL_SCRIPT} ${WRKSRC}/ht2html.py ${PREFIX}/bin
|
||||||
|
|
||||||
.include "../../lang/python/application.mk"
|
.include "../../lang/python/application.mk"
|
||||||
|
|
|
@ -1,32 +1,14 @@
|
||||||
@comment $NetBSD: PLIST,v 1.1.1.1 2003/06/22 13:48:41 marc Exp $
|
@comment $NetBSD: PLIST,v 1.2 2003/06/23 00:10:07 marc Exp $
|
||||||
bin/ht2html.py
|
bin/ht2html.py
|
||||||
${PYSITELIB}/BAWGenerator.py
|
|
||||||
${PYSITELIB}/BAWGenerator.pyc
|
|
||||||
${PYSITELIB}/BAWGenerator.pyo
|
|
||||||
${PYSITELIB}/Banner.py
|
${PYSITELIB}/Banner.py
|
||||||
${PYSITELIB}/Banner.pyc
|
${PYSITELIB}/Banner.pyc
|
||||||
${PYSITELIB}/Banner.pyo
|
${PYSITELIB}/Banner.pyo
|
||||||
${PYSITELIB}/HTParser.py
|
${PYSITELIB}/HTParser.py
|
||||||
${PYSITELIB}/HTParser.pyc
|
${PYSITELIB}/HTParser.pyc
|
||||||
${PYSITELIB}/HTParser.pyo
|
${PYSITELIB}/HTParser.pyo
|
||||||
${PYSITELIB}/IPC8Generator.py
|
|
||||||
${PYSITELIB}/IPC8Generator.pyc
|
|
||||||
${PYSITELIB}/IPC8Generator.pyo
|
|
||||||
${PYSITELIB}/JPyGenerator.py
|
|
||||||
${PYSITELIB}/JPyGenerator.pyc
|
|
||||||
${PYSITELIB}/JPyGenerator.pyo
|
|
||||||
${PYSITELIB}/JPyLocalGenerator.py
|
|
||||||
${PYSITELIB}/JPyLocalGenerator.pyc
|
|
||||||
${PYSITELIB}/JPyLocalGenerator.pyo
|
|
||||||
${PYSITELIB}/LinkFixer.py
|
${PYSITELIB}/LinkFixer.py
|
||||||
${PYSITELIB}/LinkFixer.pyc
|
${PYSITELIB}/LinkFixer.pyc
|
||||||
${PYSITELIB}/LinkFixer.pyo
|
${PYSITELIB}/LinkFixer.pyo
|
||||||
${PYSITELIB}/PDOGenerator.py
|
|
||||||
${PYSITELIB}/PDOGenerator.pyc
|
|
||||||
${PYSITELIB}/PDOGenerator.pyo
|
|
||||||
${PYSITELIB}/SelfGenerator.py
|
|
||||||
${PYSITELIB}/SelfGenerator.pyc
|
|
||||||
${PYSITELIB}/SelfGenerator.pyo
|
|
||||||
${PYSITELIB}/Sidebar.py
|
${PYSITELIB}/Sidebar.py
|
||||||
${PYSITELIB}/Sidebar.pyc
|
${PYSITELIB}/Sidebar.pyc
|
||||||
${PYSITELIB}/Sidebar.pyo
|
${PYSITELIB}/Sidebar.pyo
|
||||||
|
@ -36,20 +18,26 @@ ${PYSITELIB}/Skeleton.pyo
|
||||||
${PYSITELIB}/StandardGenerator.py
|
${PYSITELIB}/StandardGenerator.py
|
||||||
${PYSITELIB}/StandardGenerator.pyc
|
${PYSITELIB}/StandardGenerator.pyc
|
||||||
${PYSITELIB}/StandardGenerator.pyo
|
${PYSITELIB}/StandardGenerator.pyo
|
||||||
share/doc/html/ht2html/Makefile
|
share/examples/ht2html/BAWGenerator.py
|
||||||
share/doc/html/ht2html/PythonPoweredSmall.png
|
share/examples/ht2html/IPC8Generator.py
|
||||||
share/doc/html/ht2html/bugs.ht
|
share/examples/ht2html/JPyGenerator.py
|
||||||
share/doc/html/ht2html/bugs.html
|
share/examples/ht2html/JPyLocalGenerator.py
|
||||||
share/doc/html/ht2html/components.ht
|
share/examples/ht2html/Makefile
|
||||||
share/doc/html/ht2html/components.html
|
share/examples/ht2html/PDOGenerator.py
|
||||||
share/doc/html/ht2html/docstring.ht
|
share/examples/ht2html/PythonPoweredSmall.png
|
||||||
share/doc/html/ht2html/docstring.html
|
share/examples/ht2html/SelfGenerator.py
|
||||||
share/doc/html/ht2html/examples.ht
|
share/examples/ht2html/bugs.ht
|
||||||
share/doc/html/ht2html/examples.html
|
share/examples/ht2html/bugs.html
|
||||||
share/doc/html/ht2html/ht2html.png
|
share/examples/ht2html/components.ht
|
||||||
share/doc/html/ht2html/index.ht
|
share/examples/ht2html/components.html
|
||||||
share/doc/html/ht2html/index.html
|
share/examples/ht2html/docstring.ht
|
||||||
share/doc/html/ht2html/links.h
|
share/examples/ht2html/docstring.html
|
||||||
share/doc/html/ht2html/style.ht
|
share/examples/ht2html/examples.ht
|
||||||
share/doc/html/ht2html/style.html
|
share/examples/ht2html/examples.html
|
||||||
@dirrm share/doc/html/ht2html
|
share/examples/ht2html/ht2html.png
|
||||||
|
share/examples/ht2html/index.ht
|
||||||
|
share/examples/ht2html/index.html
|
||||||
|
share/examples/ht2html/links.h
|
||||||
|
share/examples/ht2html/style.ht
|
||||||
|
share/examples/ht2html/style.html
|
||||||
|
@dirrm share/examples/ht2html
|
||||||
|
|
Loading…
Reference in a new issue