aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorjim <jim@FreeBSD.org>2002-01-14 15:01:02 +0800
committerjim <jim@FreeBSD.org>2002-01-14 15:01:02 +0800
commit2fc568c2b9d46c0b9a641aedd0f7e5591dc48dee (patch)
tree455393a137aea132d1ce19b00665197244dd4d8c /devel
parent60d04c069aafbc4467080a601be5ff72e2d909b9 (diff)
downloadfreebsd-ports-graphics-2fc568c2b9d46c0b9a641aedd0f7e5591dc48dee.tar.gz
freebsd-ports-graphics-2fc568c2b9d46c0b9a641aedd0f7e5591dc48dee.tar.zst
freebsd-ports-graphics-2fc568c2b9d46c0b9a641aedd0f7e5591dc48dee.zip
Fix plist.
PR: 33805 Submitted by: maintainer
Diffstat (limited to 'devel')
-rw-r--r--devel/py-optik/Makefile3
-rw-r--r--devel/py-optik/pkg-plist38
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%%