aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/roap
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-04-15 20:48:18 +0800
committerijliao <ijliao@FreeBSD.org>2002-04-15 20:48:18 +0800
commitbb782ea2e0038f24a92f6daaae58ab5914428c73 (patch)
treead45caac888b3de314cbc648fbfba0bdec1c8b22 /textproc/roap
parent070e94bde6ed609981cb4d9e47daad85c4a56fea (diff)
downloadfreebsd-ports-gnome-bb782ea2e0038f24a92f6daaae58ab5914428c73.tar.gz
freebsd-ports-gnome-bb782ea2e0038f24a92f6daaae58ab5914428c73.tar.zst
freebsd-ports-gnome-bb782ea2e0038f24a92f6daaae58ab5914428c73.zip
add roap 0.1.2
Region Oriented Ascii Processor
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