aboutsummaryrefslogtreecommitdiff
path: root/devel/py-optik
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-24 10:53:42 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-24 10:53:42 +0000
commit2d088900595115ad86c491200319b8d867cab981 (patch)
tree61e61c76474013021dc5deab9bbe22f907b61410 /devel/py-optik
parent77e9c7575a25cc58318f8dc7e8257100be697365 (diff)
downloadports-2d088900595115ad86c491200319b8d867cab981.tar.gz
ports-2d088900595115ad86c491200319b8d867cab981.zip
Notes
Diffstat (limited to 'devel/py-optik')
-rw-r--r--devel/py-optik/Makefile9
-rw-r--r--devel/py-optik/pkg-plist19
2 files changed, 27 insertions, 1 deletions
diff --git a/devel/py-optik/Makefile b/devel/py-optik/Makefile
index ef6938a92d77..79ac11f0e117 100644
--- a/devel/py-optik/Makefile
+++ b/devel/py-optik/Makefile
@@ -14,7 +14,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Optik-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ports@geeksrus.net
USE_PYTHON= yes
@@ -26,4 +26,11 @@ do-build:
do-install:
@${SETUP_CMD} install
+.if !defined(NOPORTDOCS)
+post-install:
+ @${MKDIR} ${DOCSDIR}/test
+ ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/test/* ${DOCSDIR}/test
+.endif
+
.include <bsd.port.mk>
diff --git a/devel/py-optik/pkg-plist b/devel/py-optik/pkg-plist
index 97327234f05f..4f39255b63b4 100644
--- a/devel/py-optik/pkg-plist
+++ b/devel/py-optik/pkg-plist
@@ -7,3 +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