diff options
author | jim <jim@FreeBSD.org> | 2002-01-14 15:01:02 +0800 |
---|---|---|
committer | jim <jim@FreeBSD.org> | 2002-01-14 15:01:02 +0800 |
commit | 2fc568c2b9d46c0b9a641aedd0f7e5591dc48dee (patch) | |
tree | 455393a137aea132d1ce19b00665197244dd4d8c /devel/py-optik | |
parent | 60d04c069aafbc4467080a601be5ff72e2d909b9 (diff) | |
download | freebsd-ports-gnome-2fc568c2b9d46c0b9a641aedd0f7e5591dc48dee.tar.gz freebsd-ports-gnome-2fc568c2b9d46c0b9a641aedd0f7e5591dc48dee.tar.zst freebsd-ports-gnome-2fc568c2b9d46c0b9a641aedd0f7e5591dc48dee.zip |
Fix plist.
PR: 33805
Submitted by: maintainer
Diffstat (limited to 'devel/py-optik')
-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 ca66f99ffe26..2acd09e0efc5 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 4f39255b63b4..154124206b42 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%% |