From bb782ea2e0038f24a92f6daaae58ab5914428c73 Mon Sep 17 00:00:00 2001 From: ijliao Date: Mon, 15 Apr 2002 12:48:18 +0000 Subject: add roap 0.1.2 Region Oriented Ascii Processor --- textproc/Makefile | 1 + textproc/roap/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ textproc/roap/distinfo | 1 + textproc/roap/pkg-comment | 1 + textproc/roap/pkg-descr | 4 ++++ textproc/roap/pkg-plist | 27 +++++++++++++++++++++++++++ 6 files changed, 73 insertions(+) create mode 100644 textproc/roap/Makefile create mode 100644 textproc/roap/distinfo create mode 100644 textproc/roap/pkg-comment create mode 100644 textproc/roap/pkg-descr create mode 100644 textproc/roap/pkg-plist (limited to 'textproc') diff --git a/textproc/Makefile b/textproc/Makefile index 957b7374c620..8eb31722e277 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -233,6 +233,7 @@ SUBDIR += replaceit SUBDIR += resume SUBDIR += rman + SUBDIR += roap SUBDIR += rot SUBDIR += rotix SUBDIR += rtf2htm 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 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 -- cgit