aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/clo++/Makefile31
-rw-r--r--devel/clo++/distinfo1
-rw-r--r--devel/clo++/pkg-comment1
-rw-r--r--devel/clo++/pkg-descr9
-rw-r--r--devel/clo++/pkg-plist3
6 files changed, 46 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 0160fbfff295..72648ef39ee9 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -87,6 +87,7 @@
SUBDIR += clanlib
SUBDIR += clig
SUBDIR += clint
+ SUBDIR += clo++
SUBDIR += codecrusader
SUBDIR += codemedic
SUBDIR += commoncpp
diff --git a/devel/clo++/Makefile b/devel/clo++/Makefile
new file mode 100644
index 000000000000..d08a25411485
--- /dev/null
+++ b/devel/clo++/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: clo++
+# Date created: 30 January 2001
+# Whom: Kevin Lo <kevlo@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= clo++
+PORTVERSION= 0.5.0
+CATEGORIES= devel
+MASTER_SITES= http://pmade.org/~pjones/software/clo++/download/
+
+MAINTAINER= kevlo@FreeBSD.org
+
+LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
+
+USE_GCC= 3.1
+CONFGARGS= --prefix ${PREFIX}
+CONFGARGS+= --xml2-config ${PREFIX}/bin/xml2-config
+
+pre-configure:
+ @(cd ${WRKSRC} && ${ENV} CXX=${CXX} ${PERL5} configure.pl ${CONFGARGS})
+
+post-install:
+ @${STRIP_CMD} ${PREFIX}/bin/clo++
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/clo++
+ @${INSTALL_DATA} ${WRKSRC}/docs/manual.txt ${PREFIX}/share/doc/clo++
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/clo++/distinfo b/devel/clo++/distinfo
new file mode 100644
index 000000000000..9179a6b25249
--- /dev/null
+++ b/devel/clo++/distinfo
@@ -0,0 +1 @@
+MD5 (clo++-0.5.0.tar.gz) = da5c988fc1e47f1e27259f33d7c319a1
diff --git a/devel/clo++/pkg-comment b/devel/clo++/pkg-comment
new file mode 100644
index 000000000000..28fe6a3b80df
--- /dev/null
+++ b/devel/clo++/pkg-comment
@@ -0,0 +1 @@
+Command line parser generator
diff --git a/devel/clo++/pkg-descr b/devel/clo++/pkg-descr
new file mode 100644
index 000000000000..7ff89929ff3d
--- /dev/null
+++ b/devel/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/devel/clo++/pkg-plist b/devel/clo++/pkg-plist
new file mode 100644
index 000000000000..cee849be3eed
--- /dev/null
+++ b/devel/clo++/pkg-plist
@@ -0,0 +1,3 @@
+bin/clo++
+share/doc/clo++/manual.txt
+@dirrm share/doc/clo++