aboutsummaryrefslogtreecommitdiff
path: root/textproc/roap
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-15 12:48:18 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-15 12:48:18 +0000
commitae7ca7fd2cf846fd7315ba9357ba22c0e53edcfe (patch)
treefe9aa28191751d9b89e0b074a3efa226dc638758 /textproc/roap
parent7a289c7fbc093d321f9498819bb3d6007407ce83 (diff)
downloadports-ae7ca7fd2cf846fd7315ba9357ba22c0e53edcfe.tar.gz
ports-ae7ca7fd2cf846fd7315ba9357ba22c0e53edcfe.zip
add roap 0.1.2
Region Oriented Ascii Processor
Notes
Notes: svn path=/head/; revision=57714
Diffstat (limited to 'textproc/roap')
-rw-r--r--textproc/roap/Makefile39
-rw-r--r--textproc/roap/distinfo1
-rw-r--r--textproc/roap/pkg-comment1
-rw-r--r--textproc/roap/pkg-descr4
-rw-r--r--textproc/roap/pkg-plist27
5 files changed, 72 insertions, 0 deletions
diff --git a/textproc/roap/Makefile b/textproc/roap/Makefile
new file mode 100644
index 000000000000..d35e4d3c7abc
--- /dev/null
+++ b/textproc/roap/Makefile
@@ -0,0 +1,39 @@
+# ex:ts=8
+# Ports collection Makefile for: roap
+# Date created: Apr 15, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= roap
+PORTVERSION= 0.1.2
+CATEGORIES= textproc python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+
+USE_PYTHON= yes
+
+SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+DOCS= README README.ja USAGE USAGE.ja
+
+do-build:
+ @${SETUP_CMD} build
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/roap ${PREFIX}/bin
+ @${SETUP_CMD} install
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in ${DOCS}
+ ${CP} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+ @${MKDIR} ${EXAMPLESDIR}
+ ${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/roap/distinfo b/textproc/roap/distinfo
new file mode 100644
index 000000000000..bc80c7939ffb
--- /dev/null
+++ b/textproc/roap/distinfo
@@ -0,0 +1 @@
+MD5 (roap_0.1.2.tar.gz) = 9b2e074e554ffac5a04039bf121d7929
diff --git a/textproc/roap/pkg-comment b/textproc/roap/pkg-comment
new file mode 100644
index 000000000000..83bf81dccccb
--- /dev/null
+++ b/textproc/roap/pkg-comment
@@ -0,0 +1 @@
+Region Oriented Ascii Processor
diff --git a/textproc/roap/pkg-descr b/textproc/roap/pkg-descr
new file mode 100644
index 000000000000..cf6789570e41
--- /dev/null
+++ b/textproc/roap/pkg-descr
@@ -0,0 +1,4 @@
+Roap scans a text file, extracts regions that matches specified patterns
+from it, and processes them with specified executables sequentially. Each
+executable reads the region as the stdin, and whole their stdouts are
+written out as the stdout of Roap.
diff --git a/textproc/roap/pkg-plist b/textproc/roap/pkg-plist
new file mode 100644
index 000000000000..d0d2a9783034
--- /dev/null
+++ b/textproc/roap/pkg-plist
@@ -0,0 +1,27 @@
+bin/roap
+lib/%%PYTHON_VERSION%%/site-packages/roaplib/__init__.py
+lib/%%PYTHON_VERSION%%/site-packages/roaplib/__init__.pyc
+lib/%%PYTHON_VERSION%%/site-packages/roaplib/datasource.py
+lib/%%PYTHON_VERSION%%/site-packages/roaplib/datasource.pyc
+lib/%%PYTHON_VERSION%%/site-packages/roaplib/generate.py
+lib/%%PYTHON_VERSION%%/site-packages/roaplib/generate.pyc
+lib/%%PYTHON_VERSION%%/site-packages/roaplib/matchobject.py
+lib/%%PYTHON_VERSION%%/site-packages/roaplib/matchobject.pyc
+lib/%%PYTHON_VERSION%%/site-packages/roaplib/roapxml.py
+lib/%%PYTHON_VERSION%%/site-packages/roaplib/roapxml.pyc
+@dirrm lib/%%PYTHON_VERSION%%/site-packages/roaplib
+%%PORTDOCS%%share/doc/roap/README
+%%PORTDOCS%%share/doc/roap/README.ja
+%%PORTDOCS%%share/doc/roap/USAGE
+%%PORTDOCS%%share/doc/roap/USAGE.ja
+%%PORTDOCS%%@dirrm share/doc/roap
+%%PORTDOCS%%share/examples/roap/a2h.py
+%%PORTDOCS%%share/examples/roap/a2h.xml
+%%PORTDOCS%%share/examples/roap/cat.xml
+%%PORTDOCS%%share/examples/roap/deflist.py
+%%PORTDOCS%%share/examples/roap/header.py
+%%PORTDOCS%%share/examples/roap/list.py
+%%PORTDOCS%%share/examples/roap/paragraph.py
+%%PORTDOCS%%share/examples/roap/preformat.py
+%%PORTDOCS%%share/examples/roap/title.py
+%%PORTDOCS%%@dirrm share/examples/roap