aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/chpp/Makefile29
-rw-r--r--textproc/chpp/distinfo1
-rw-r--r--textproc/chpp/files/patch-aa11
-rw-r--r--textproc/chpp/pkg-comment1
-rw-r--r--textproc/chpp/pkg-descr18
-rw-r--r--textproc/chpp/pkg-plist112
6 files changed, 172 insertions, 0 deletions
diff --git a/textproc/chpp/Makefile b/textproc/chpp/Makefile
new file mode 100644
index 000000000000..669216e6254c
--- /dev/null
+++ b/textproc/chpp/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: chpp
+# Version required: 0.3.5
+# Date created: 4 May 1999
+# Whom: Andrey Zakhvatov
+#
+# $FreeBSD$
+#
+
+DISTNAME= chpp-0.3.5
+CATEGORIES= textproc
+MASTER_SITES= http://www.FreeBSD.org/~andy/distfiles/
+
+MAINTAINER= andy@icc.surw.chel.su
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --libdir=${PREFIX}/share
+
+post-install:
+ @ ${MKDIR} ${PREFIX}/share/examples/chpp
+ @ cd ${WRKSRC}/test; tar -cf - * | \
+ ( cd ${PREFIX}/share/examples/chpp; tar --unlink -xf - )
+ @ ${MKDIR} ${PREFIX}/share/doc/chpp
+.if !defined(NOPORTDOCS)
+.for file in AUTHORS COPYING NEWS README
+ @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/chpp
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/chpp/distinfo b/textproc/chpp/distinfo
new file mode 100644
index 000000000000..e0d70c3b04e1
--- /dev/null
+++ b/textproc/chpp/distinfo
@@ -0,0 +1 @@
+MD5 (chpp-0.3.5.tar.gz) = 28fd01153a9da83b5ccd37ba727848c8
diff --git a/textproc/chpp/files/patch-aa b/textproc/chpp/files/patch-aa
new file mode 100644
index 000000000000..f2e1cbf6c7cf
--- /dev/null
+++ b/textproc/chpp/files/patch-aa
@@ -0,0 +1,11 @@
+--- gc/mach_dep.c Tue Feb 9 17:03:04 1999
++++ /home/andy/tmp/wrk/gc/mach_dep.c Thu Aug 26 08:53:50 1999
+@@ -170,7 +170,7 @@
+
+ # if defined(I386) &&!defined(OS2) &&!defined(SVR4) &&!defined(MSWIN32) \
+ && !defined(SCO) && !(defined(LINUX) && defined(__ELF__)) \
+- && !defined(DOS4GW)
++ && !defined(DOS4GW) && !defined(FREEBSD)
+ /* I386 code, generic code does not appear to work */
+ /* It does appear to work under OS2, and asms dont */
+ /* This is used for some 38g UNIX variants and for CYGWIN32 */
diff --git a/textproc/chpp/pkg-comment b/textproc/chpp/pkg-comment
new file mode 100644
index 000000000000..b0cbf5b6e81d
--- /dev/null
+++ b/textproc/chpp/pkg-comment
@@ -0,0 +1 @@
+Non-intrusive full-featured text preprocessor
diff --git a/textproc/chpp/pkg-descr b/textproc/chpp/pkg-descr
new file mode 100644
index 000000000000..e2d32fe9426e
--- /dev/null
+++ b/textproc/chpp/pkg-descr
@@ -0,0 +1,18 @@
+`chpp' is a preprocessor. Therefore, its main purpose is to modify
+input text by including other input files and by macro expansion.
+
+What distinguishes `chpp' from other textprocessors are mainly two
+features:
+
+* `chpp' is non-intrusive. This means that you can take your
+ favourite text and it is very unlikely that it will be changed when
+ piped through `chpp'. Due to this feature it is pretty easy to
+ start using `chpp' since you can just start writing your text and
+ need not concern yourself with `chpp' sitting in the background
+ changing it for no obvious reason.
+
+* `chpp' is not just a package for performing simple macro expansion,
+ but can indeed be considered a full-fledged programming language.
+ Most importantly, it provides support for complex data structures,
+ namely lists and hashes (associative arrays), which can be nested
+ arbitrarily.
diff --git a/textproc/chpp/pkg-plist b/textproc/chpp/pkg-plist
new file mode 100644
index 000000000000..40cc8daf1781
--- /dev/null
+++ b/textproc/chpp/pkg-plist
@@ -0,0 +1,112 @@
+bin/chpp
+@unexec install-info --delete %D/info/chpp.info %D/info/dir
+info/chpp.info
+info/chpp.info-1
+info/chpp.info-2
+@exec install-info %D/info/chpp.info %D/info/dir
+share/chpp/include/cgi.chh
+share/chpp/include/files.chh
+share/chpp/include/list.chh
+share/chpp/include/sql.chh
+share/chpp/include/strings.chh
+share/chpp/include/time.chh
+share/chpp/include/w3lib.chh
+share/doc/chpp/AUTHORS
+share/doc/chpp/COPYING
+share/doc/chpp/NEWS
+share/doc/chpp/README
+share/examples/chpp/regress/dotest
+share/examples/chpp/regress/tests
+share/examples/chpp/regress/arith/arith.txt
+share/examples/chpp/regress/arith/expected.err
+share/examples/chpp/regress/arith/expected.out
+share/examples/chpp/regress/array/array.txt
+share/examples/chpp/regress/array/expected.err
+share/examples/chpp/regress/array/expected.out
+share/examples/chpp/regress/assoc/assoc.txt
+share/examples/chpp/regress/assoc/expected.err
+share/examples/chpp/regress/assoc/expected.out
+share/examples/chpp/regress/define/define.txt
+share/examples/chpp/regress/define/expected.err
+share/examples/chpp/regress/define/expected.out
+share/examples/chpp/regress/error/error.txt
+share/examples/chpp/regress/error/error2.txt
+share/examples/chpp/regress/error/error3.txt
+share/examples/chpp/regress/fileops/expected.err
+share/examples/chpp/regress/fileops/expected.out
+share/examples/chpp/regress/fileops/fileops.txt
+share/examples/chpp/regress/fileops/test.data
+share/examples/chpp/regress/hanoi/expected.err
+share/examples/chpp/regress/hanoi/expected.out
+share/examples/chpp/regress/hanoi/hanoi.txt
+share/examples/chpp/regress/include/incdir/incdir2/recinc3.txt
+share/examples/chpp/regress/include/incdir/recinc1.txt
+share/examples/chpp/regress/include/incdir/recinc2.txt
+share/examples/chpp/regress/include/expected.err
+share/examples/chpp/regress/include/expected.out
+share/examples/chpp/regress/include/include.txt
+share/examples/chpp/regress/include/include2.txt
+share/examples/chpp/regress/include/include3.txt
+share/examples/chpp/regress/include/include4.txt
+share/examples/chpp/regress/loops/expected.err
+share/examples/chpp/regress/loops/expected.out
+share/examples/chpp/regress/loops/loops.txt
+share/examples/chpp/regress/metachar/expected.err
+share/examples/chpp/regress/metachar/expected.out
+share/examples/chpp/regress/metachar/metachar.txt
+share/examples/chpp/regress/regex/expected.err
+share/examples/chpp/regress/regex/expected.out
+share/examples/chpp/regress/regex/regex.txt
+share/examples/chpp/regress/stringops/expected.err
+share/examples/chpp/regress/stringops/expected.out
+share/examples/chpp/regress/stringops/stringops.txt
+share/examples/chpp/tautogen/data.cslab
+share/examples/chpp/tautogen/data.new
+share/examples/chpp/tautogen/grammar
+share/examples/chpp/tautogen/tautogen.csml
+share/examples/chpp/website/Makefile
+share/examples/chpp/website/choicebar.chml
+share/examples/chpp/website/choicestrip.chml
+share/examples/chpp/website/footer.chml
+share/examples/chpp/website/header.chml
+share/examples/chpp/website/menu.chml
+share/examples/chpp/website/news.csml
+share/examples/chpp/website/news_a.html
+share/examples/chpp/website/news_l.jpg
+share/examples/chpp/website/news_s.jpg
+share/examples/chpp/website/news_s_g.jpg
+share/examples/chpp/website/news_t.chml
+share/examples/chpp/website/template.chml
+share/examples/chpp/website/tips.csml
+share/examples/chpp/website/tips_a.html
+share/examples/chpp/website/tips_l.jpg
+share/examples/chpp/website/tips_s.jpg
+share/examples/chpp/website/tips_s_g.jpg
+share/examples/chpp/website/tips_t.chml
+share/examples/chpp/website/tricks.csml
+share/examples/chpp/website/tricks_a.html
+share/examples/chpp/website/tricks_l.jpg
+share/examples/chpp/website/tricks_s.jpg
+share/examples/chpp/website/tricks_s_g.jpg
+share/examples/chpp/website/tricks_t.chml
+@dirrm share/chpp/include
+@dirrm share/chpp
+@dirrm share/doc/chpp
+@dirrm share/examples/chpp/regress/array
+@dirrm share/examples/chpp/regress/arith
+@dirrm share/examples/chpp/regress/assoc
+@dirrm share/examples/chpp/regress/define
+@dirrm share/examples/chpp/regress/error
+@dirrm share/examples/chpp/regress/fileops
+@dirrm share/examples/chpp/regress/hanoi
+@dirrm share/examples/chpp/regress/include/incdir/incdir2
+@dirrm share/examples/chpp/regress/include/incdir
+@dirrm share/examples/chpp/regress/include
+@dirrm share/examples/chpp/regress/loops
+@dirrm share/examples/chpp/regress/regex
+@dirrm share/examples/chpp/regress/metachar
+@dirrm share/examples/chpp/regress/stringops
+@dirrm share/examples/chpp/regress
+@dirrm share/examples/chpp/tautogen
+@dirrm share/examples/chpp/website
+@dirrm share/examples/chpp