aboutsummaryrefslogtreecommitdiff
path: root/devel/py-optik
diff options
context:
space:
mode:
authorJim Mock <jim@FreeBSD.org>2002-01-14 07:01:02 +0000
committerJim Mock <jim@FreeBSD.org>2002-01-14 07:01:02 +0000
commitb19c41597fd2a1cd2ca6bbbe5013097ce506f519 (patch)
tree028753ab623b68f19d361725fc7a17db5fac5d8a /devel/py-optik
parent963ec014d2e74bb984b8eb4dcf3c7b1e02ff3425 (diff)
downloadports-b19c41597fd2a1cd2ca6bbbe5013097ce506f519.tar.gz
ports-b19c41597fd2a1cd2ca6bbbe5013097ce506f519.zip
Notes
Diffstat (limited to 'devel/py-optik')
-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 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%%