summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2001-01-30 10:21:27 +0000
committerKevin Lo <kevlo@FreeBSD.org>2001-01-30 10:21:27 +0000
commit09401b51ae055bd440c4da0a72e0b7b0e9bde357 (patch)
tree6f550c345cdaf45db5b3c6e09d495938b6b02d46 /textproc
parentUpdate to 1.35. (diff)
Initial import of clo++-0.3.0
clo++ is a command line parser generator for C++
Notes
Notes: svn path=/head/; revision=37785
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/clo++/Makefile23
-rw-r--r--textproc/clo++/distinfo1
-rw-r--r--textproc/clo++/files/patch-aa13
-rw-r--r--textproc/clo++/files/patch-ab11
-rw-r--r--textproc/clo++/pkg-comment1
-rw-r--r--textproc/clo++/pkg-descr9
-rw-r--r--textproc/clo++/pkg-plist3
8 files changed, 62 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index cff2d086d39f..76c6e3840c1e 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -11,6 +11,7 @@
SUBDIR += cdif
SUBDIR += cdiff
SUBDIR += chpp
+ SUBDIR += clo++
SUBDIR += cocoon
SUBDIR += code2html
SUBDIR += cole
diff --git a/textproc/clo++/Makefile b/textproc/clo++/Makefile
new file mode 100644
index 000000000000..382ecbb108b8
--- /dev/null
+++ b/textproc/clo++/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: clo++
+# Date created: 30 January 2001
+# Whom: Kevin Lo <kevlo@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= clo++
+PORTVERSION= 0.3.0
+CATEGORIES= textproc
+MASTER_SITES= http://pmade.org/~pjones/software/clo++/download/
+
+MAINTAINER= kevlo@FreeBSD.org
+
+LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
+
+GNU_CONFIGURE= yes
+
+post-install:
+ @${MKDIR} ${PREFIX}/share/doc/clo++
+ ${INSTALL_DATA} ${WRKSRC}/doc/handbook.html ${PREFIX}/share/doc/clo++
+
+.include <bsd.port.mk>
diff --git a/textproc/clo++/distinfo b/textproc/clo++/distinfo
new file mode 100644
index 000000000000..21b61aff6456
--- /dev/null
+++ b/textproc/clo++/distinfo
@@ -0,0 +1 @@
+MD5 (clo++-0.3.0.tar.gz) = 06609b8fff514a50cb539ab14e9a97c9
diff --git a/textproc/clo++/files/patch-aa b/textproc/clo++/files/patch-aa
new file mode 100644
index 000000000000..0cd2e5f2b548
--- /dev/null
+++ b/textproc/clo++/files/patch-aa
@@ -0,0 +1,13 @@
+--- configure.orig Tue Jan 30 17:09:05 2001
++++ configure Tue Jan 30 17:12:33 2001
+@@ -1237,8 +1237,8 @@
+ *** variable to the full path to the xml-config program
+ *** that got installed with libxml2"
+
+-# Extract the first word of "xml-config", so it can be a program name with args.
+-set dummy xml-config; ac_word=$2
++# Extract the first word of "xml2-config", so it can be a program name with args.
++set dummy xml2-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+ echo "configure:1244: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_XML_CONFIG'+set}'`\" = set"; then
diff --git a/textproc/clo++/files/patch-ab b/textproc/clo++/files/patch-ab
new file mode 100644
index 000000000000..b85f4d3500f2
--- /dev/null
+++ b/textproc/clo++/files/patch-ab
@@ -0,0 +1,11 @@
+--- src/XML.hh.orig Tue Jan 30 17:15:36 2001
++++ src/XML.hh Tue Jan 30 17:15:49 2001
+@@ -40,7 +40,7 @@
+ // Standard Includes
+ #include <iostream>
+ #include <string>
+-#include <libxml/parser.h>
++#include <libxml2/parser.h>
+
+ // Local Includes
+ #include "Option.hh"
diff --git a/textproc/clo++/pkg-comment b/textproc/clo++/pkg-comment
new file mode 100644
index 000000000000..28fe6a3b80df
--- /dev/null
+++ b/textproc/clo++/pkg-comment
@@ -0,0 +1 @@
+Command line parser generator
diff --git a/textproc/clo++/pkg-descr b/textproc/clo++/pkg-descr
new file mode 100644
index 000000000000..b18b39555441
--- /dev/null
+++ b/textproc/clo++/pkg-descr
@@ -0,0 +1,9 @@
+Clo++ is a command line option parser generator for C++.
+It generates a C++ header file with a class that can parse your
+command line and supports just about anything that you want to do
+with your command line. It also generates usage information and
+can handle subcommands that take their own options. clo++ is itself
+written in C++ and uses a command line option parser that it
+generated.
+
+WWW: http://pmade.org/~pjones/software/clo++
diff --git a/textproc/clo++/pkg-plist b/textproc/clo++/pkg-plist
new file mode 100644
index 000000000000..a5acf47031e4
--- /dev/null
+++ b/textproc/clo++/pkg-plist
@@ -0,0 +1,3 @@
+bin/clo++
+share/doc/clo++/handbook.html
+@dirrm share/doc/clo++