aboutsummaryrefslogtreecommitdiff
path: root/devel/py-optik
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-10 04:59:47 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-10 04:59:47 +0000
commitdda1f1551fad4ae90504c0ec9f7bd00613263eb0 (patch)
treef3e2785ff5358f5414f00fbe7aa6ac06f5f11e4b /devel/py-optik
parent2f83ae77f8e9a17a871dc850755f4eeded21b965 (diff)
downloadports-dda1f1551fad4ae90504c0ec9f7bd00613263eb0.tar.gz
ports-dda1f1551fad4ae90504c0ec9f7bd00613263eb0.zip
Notes
Diffstat (limited to 'devel/py-optik')
-rw-r--r--devel/py-optik/Makefile13
-rw-r--r--devel/py-optik/distinfo2
-rw-r--r--devel/py-optik/pkg-plist9
3 files changed, 19 insertions, 5 deletions
diff --git a/devel/py-optik/Makefile b/devel/py-optik/Makefile
index 1e584cae8e36..817eeb6ee0e6 100644
--- a/devel/py-optik/Makefile
+++ b/devel/py-optik/Makefile
@@ -7,8 +7,8 @@
#
PORTNAME= optik
-PORTVERSION= 1.2
-PORTREVISION= 1
+PORTVERSION= 1.3
+PORTREVISION= 0
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -22,11 +22,16 @@ USE_PYDISTUTILS= yes
.if !defined(NOPORTDOCS)
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
-PLIST_SUB+= DOCSDIR=${DOCSDIR:S/^${PREFIX}\///}
-post-install:
+PLIST_SUB+= DOCSDIR=${DOCSDIR:S@^${PREFIX}/@@}
+post-install::
@${MKDIR} ${DOCSDIR}/test
${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/test/* ${DOCSDIR}/test
.endif
+EXAMPLES= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
+PLIST_SUB+= EXAMPLES=${EXAMPLES:S@^${PREFIX}/@@}
+post-install::
+ @${MKDIR} ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLES}
.include <bsd.port.mk>
diff --git a/devel/py-optik/distinfo b/devel/py-optik/distinfo
index 9c533a718eb4..5f54bcb3122e 100644
--- a/devel/py-optik/distinfo
+++ b/devel/py-optik/distinfo
@@ -1 +1 @@
-MD5 (Optik-1.2.tar.gz) = 93de9c3e331b9dd2a79d1d404214696e
+MD5 (Optik-1.3.tar.gz) = a2dcb7f95b0d34c8145521a59c66e910
diff --git a/devel/py-optik/pkg-plist b/devel/py-optik/pkg-plist
index 154124206b42..d262c3ff28c1 100644
--- a/devel/py-optik/pkg-plist
+++ b/devel/py-optik/pkg-plist
@@ -1,18 +1,27 @@
lib/%%PYTHON_VERSION%%/site-packages/optik/__init__.py
lib/%%PYTHON_VERSION%%/site-packages/optik/__init__.pyc
+lib/%%PYTHON_VERSION%%/site-packages/optik/__init__.pyo
lib/%%PYTHON_VERSION%%/site-packages/optik/errors.py
lib/%%PYTHON_VERSION%%/site-packages/optik/errors.pyc
+lib/%%PYTHON_VERSION%%/site-packages/optik/errors.pyo
lib/%%PYTHON_VERSION%%/site-packages/optik/option.py
lib/%%PYTHON_VERSION%%/site-packages/optik/option.pyc
+lib/%%PYTHON_VERSION%%/site-packages/optik/option.pyo
lib/%%PYTHON_VERSION%%/site-packages/optik/option_parser.py
lib/%%PYTHON_VERSION%%/site-packages/optik/option_parser.pyc
+lib/%%PYTHON_VERSION%%/site-packages/optik/option_parser.pyo
@dirrm lib/%%PYTHON_VERSION%%/site-packages/optik
+%%EXAMPLES%%/caseless.py
+%%EXAMPLES%%/required_1.py
+%%EXAMPLES%%/required_2.py
+@dirrm %%EXAMPLES%%
%%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%%/tao.txt
%%PORTDOCS%%%%DOCSDIR%%/test/runall
%%PORTDOCS%%%%DOCSDIR%%/test/test_basics.py
%%PORTDOCS%%%%DOCSDIR%%/test/test_bool.py