From 09401b51ae055bd440c4da0a72e0b7b0e9bde357 Mon Sep 17 00:00:00 2001 From: Kevin Lo Date: Tue, 30 Jan 2001 10:21:27 +0000 Subject: Initial import of clo++-0.3.0 clo++ is a command line parser generator for C++ --- textproc/Makefile | 1 + textproc/clo++/Makefile | 23 +++++++++++++++++++++++ textproc/clo++/distinfo | 1 + textproc/clo++/files/patch-aa | 13 +++++++++++++ textproc/clo++/files/patch-ab | 11 +++++++++++ textproc/clo++/pkg-comment | 1 + textproc/clo++/pkg-descr | 9 +++++++++ textproc/clo++/pkg-plist | 3 +++ 8 files changed, 62 insertions(+) create mode 100644 textproc/clo++/Makefile create mode 100644 textproc/clo++/distinfo create mode 100644 textproc/clo++/files/patch-aa create mode 100644 textproc/clo++/files/patch-ab create mode 100644 textproc/clo++/pkg-comment create mode 100644 textproc/clo++/pkg-descr create mode 100644 textproc/clo++/pkg-plist (limited to 'textproc') 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 +# +# $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 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 + #include +-#include ++#include + + // 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++ -- cgit v1.2.3