diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-optik/Makefile | 3 | ||||
-rw-r--r-- | devel/py-optik/pkg-plist | 38 |
2 files changed, 21 insertions, 20 deletions
diff --git a/devel/py-optik/Makefile b/devel/py-optik/Makefile index ca66f99ffe2..2acd09e0efc 100644 --- a/devel/py-optik/Makefile +++ b/devel/py-optik/Makefile @@ -29,7 +29,8 @@ do-install: @${SETUP_CMD} install .if !defined(NOPORTDOCS) -DOCSDIR=${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} +DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} +PLIST_SUB+= DOCSDIR=${DOCSDIR:S/^${PREFIX}\///} post-install: @${MKDIR} ${DOCSDIR}/test ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR} diff --git a/devel/py-optik/pkg-plist b/devel/py-optik/pkg-plist index 4f39255b63b..154124206b4 100644 --- a/devel/py-optik/pkg-plist +++ b/devel/py-optik/pkg-plist @@ -7,22 +7,22 @@ lib/%%PYTHON_VERSION%%/site-packages/optik/option.pyc lib/%%PYTHON_VERSION%%/site-packages/optik/option_parser.py lib/%%PYTHON_VERSION%%/site-packages/optik/option_parser.pyc @dirrm lib/%%PYTHON_VERSION%%/site-packages/optik -%%PORTDOCS%%share/doc/py-optik/CHANGES.txt -%%PORTDOCS%%share/doc/py-optik/README.txt -%%PORTDOCS%%share/doc/py-optik/advanced.txt -%%PORTDOCS%%share/doc/py-optik/basic.txt -%%PORTDOCS%%share/doc/py-optik/callbacks.txt -%%PORTDOCS%%share/doc/py-optik/extending.txt -%%PORTDOCS%%share/doc/py-optik/test/runall -%%PORTDOCS%%share/doc/py-optik/test/test_basics.py -%%PORTDOCS%%share/doc/py-optik/test/test_bool.py -%%PORTDOCS%%share/doc/py-optik/test/test_callback.py -%%PORTDOCS%%share/doc/py-optik/test/test_conflict.py -%%PORTDOCS%%share/doc/py-optik/test/test_count.py -%%PORTDOCS%%share/doc/py-optik/test/test_extend.py -%%PORTDOCS%%share/doc/py-optik/test/test_help.py -%%PORTDOCS%%share/doc/py-optik/test/test_manipulate.py -%%PORTDOCS%%share/doc/py-optik/test/test_misc.py -%%PORTDOCS%%share/doc/py-optik/test/test_nargs.py -%%PORTDOCS%%@dirrm share/doc/py-optik/test -%%PORTDOCS%%@dirrm share/doc/py-optik +%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt +%%PORTDOCS%%%%DOCSDIR%%/README.txt +%%PORTDOCS%%%%DOCSDIR%%/advanced.txt +%%PORTDOCS%%%%DOCSDIR%%/basic.txt +%%PORTDOCS%%%%DOCSDIR%%/callbacks.txt +%%PORTDOCS%%%%DOCSDIR%%/extending.txt +%%PORTDOCS%%%%DOCSDIR%%/test/runall +%%PORTDOCS%%%%DOCSDIR%%/test/test_basics.py +%%PORTDOCS%%%%DOCSDIR%%/test/test_bool.py +%%PORTDOCS%%%%DOCSDIR%%/test/test_callback.py +%%PORTDOCS%%%%DOCSDIR%%/test/test_conflict.py +%%PORTDOCS%%%%DOCSDIR%%/test/test_count.py +%%PORTDOCS%%%%DOCSDIR%%/test/test_extend.py +%%PORTDOCS%%%%DOCSDIR%%/test/test_help.py +%%PORTDOCS%%%%DOCSDIR%%/test/test_manipulate.py +%%PORTDOCS%%%%DOCSDIR%%/test/test_misc.py +%%PORTDOCS%%%%DOCSDIR%%/test/test_nargs.py +%%PORTDOCS%%@dirrm %%DOCSDIR%%/test +%%PORTDOCS%%@dirrm %%DOCSDIR%% |