aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-optik
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-12-24 18:53:42 +0800
committerijliao <ijliao@FreeBSD.org>2001-12-24 18:53:42 +0800
commit87b4532a8552f17a2ee507607f7a544d7168975a (patch)
tree575690df25a541ae93e97381f1c25b098bd85a47 /devel/py-optik
parenta9f5daf6a3fb079c157b77113fbdc50fae31ab59 (diff)
downloadfreebsd-ports-gnome-87b4532a8552f17a2ee507607f7a544d7168975a.tar.gz
freebsd-ports-gnome-87b4532a8552f17a2ee507607f7a544d7168975a.tar.zst
freebsd-ports-gnome-87b4532a8552f17a2ee507607f7a544d7168975a.zip
assign maintainer
handle PORTDOCS PR: 33139 Submitted by: Alan Eldridge <alane@geeksrus.net> (maintainer)
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