summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-11-14 07:16:43 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-11-14 07:16:43 +0000
commit0b7d463834a064b34dd1d2641249da26c082f92e (patch)
treec0d6d9ba26ee63ca7dd28ff7565070bac11b0a98
parent- patch to update the x-files port to use tcl83/tk83, (diff)
add py-optik
A command-line parsing library for Python
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-optik/Makefile29
-rw-r--r--devel/py-optik/distinfo1
-rw-r--r--devel/py-optik/pkg-comment1
-rw-r--r--devel/py-optik/pkg-descr5
-rw-r--r--devel/py-optik/pkg-plist9
6 files changed, 46 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index bbf86b5c0c67..e6b1b7edf398 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -475,6 +475,7 @@
SUBDIR += py-mx-experimental
SUBDIR += py-ncurses
SUBDIR += py-omniorb
+ SUBDIR += py-optik
SUBDIR += py-orbit
SUBDIR += py-twisted
SUBDIR += py-unit
diff --git a/devel/py-optik/Makefile b/devel/py-optik/Makefile
new file mode 100644
index 000000000000..3a1444a9ead7
--- /dev/null
+++ b/devel/py-optik/Makefile
@@ -0,0 +1,29 @@
+# ex:ts=8
+# New ports collection makefile for: py-optik
+# Date created: Nov 13, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= optik
+PORTVERSION= 1.0
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= Optik-${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+
+USE_PYTHON= yes
+
+SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
+
+do-build:
+ @${SETUP_CMD} build
+
+do-install:
+ @${SETUP_CMD} install
+
+.include <bsd.port.mk>
diff --git a/devel/py-optik/distinfo b/devel/py-optik/distinfo
new file mode 100644
index 000000000000..40442d3a2e41
--- /dev/null
+++ b/devel/py-optik/distinfo
@@ -0,0 +1 @@
+MD5 (Optik-1.0.tar.gz) = 1a49511bde8eafa9321a4c9bbebbf98a
diff --git a/devel/py-optik/pkg-comment b/devel/py-optik/pkg-comment
new file mode 100644
index 000000000000..8bed3af037bc
--- /dev/null
+++ b/devel/py-optik/pkg-comment
@@ -0,0 +1 @@
+A command-line parsing library for Python
diff --git a/devel/py-optik/pkg-descr b/devel/py-optik/pkg-descr
new file mode 100644
index 000000000000..f0dd8e541c1b
--- /dev/null
+++ b/devel/py-optik/pkg-descr
@@ -0,0 +1,5 @@
+Optik is a powerful, flexible, extensible, easy-to-use command-line parsing
+library for Python. Using Optik, you can add intelligent, sophisticated
+handling of command-line options to your scripts with very little overhead.
+
+WWW: http://optik.sourceforge.net/
diff --git a/devel/py-optik/pkg-plist b/devel/py-optik/pkg-plist
new file mode 100644
index 000000000000..97327234f05f
--- /dev/null
+++ b/devel/py-optik/pkg-plist
@@ -0,0 +1,9 @@
+lib/%%PYTHON_VERSION%%/site-packages/optik/__init__.py
+lib/%%PYTHON_VERSION%%/site-packages/optik/__init__.pyc
+lib/%%PYTHON_VERSION%%/site-packages/optik/errors.py
+lib/%%PYTHON_VERSION%%/site-packages/optik/errors.pyc
+lib/%%PYTHON_VERSION%%/site-packages/optik/option.py
+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