aboutsummaryrefslogtreecommitdiff
path: root/devel/clo++
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2003-03-26 06:51:12 +0000
committerKevin Lo <kevlo@FreeBSD.org>2003-03-26 06:51:12 +0000
commitaab07175ca1d9e14de490c7e87ffbe679e11c8d3 (patch)
tree9a15ffb7bb50ed374c2d5854e3703531cac9202c /devel/clo++
parent13011e478e533c9ff335157865ba92993cf34cec (diff)
downloadports-aab07175ca1d9e14de490c7e87ffbe679e11c8d3.tar.gz
ports-aab07175ca1d9e14de490c7e87ffbe679e11c8d3.zip
Notes
Diffstat (limited to 'devel/clo++')
-rw-r--r--devel/clo++/Makefile6
-rw-r--r--devel/clo++/distinfo2
-rw-r--r--devel/clo++/files/patch-src::contrib::xmlwrapp-0.2.2::configure.pl11
3 files changed, 16 insertions, 3 deletions
diff --git a/devel/clo++/Makefile b/devel/clo++/Makefile
index 74453b6ae916..1929e85758d4 100644
--- a/devel/clo++/Makefile
+++ b/devel/clo++/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= clo++
-PORTVERSION= 0.5.0
+PORTVERSION= 0.6.2
CATEGORIES= devel
MASTER_SITES= http://pmade.org/~pjones/software/clo++/download/
@@ -15,11 +15,13 @@ COMMENT= Command line parser generator
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
-USE_GCC= 3.1
+USE_GCC= 3.2
USE_PERL5= yes
CONFGARGS= --prefix ${PREFIX}
CONFGARGS+= --xml2-config ${PREFIX}/bin/xml2-config
+MAN1= clo++.1
+
pre-configure:
@(cd ${WRKSRC} && ${ENV} CXX=${CXX} ${PERL5} configure.pl ${CONFGARGS})
diff --git a/devel/clo++/distinfo b/devel/clo++/distinfo
index 9179a6b25249..40aaca8e4ed6 100644
--- a/devel/clo++/distinfo
+++ b/devel/clo++/distinfo
@@ -1 +1 @@
-MD5 (clo++-0.5.0.tar.gz) = da5c988fc1e47f1e27259f33d7c319a1
+MD5 (clo++-0.6.2.tar.gz) = 5ad028b7489f7acdb6a820df7f4e14bd
diff --git a/devel/clo++/files/patch-src::contrib::xmlwrapp-0.2.2::configure.pl b/devel/clo++/files/patch-src::contrib::xmlwrapp-0.2.2::configure.pl
new file mode 100644
index 000000000000..6e2670c38bcc
--- /dev/null
+++ b/devel/clo++/files/patch-src::contrib::xmlwrapp-0.2.2::configure.pl
@@ -0,0 +1,11 @@
+--- src/contrib/xmlwrapp-0.2.2/configure.pl.orig Tue Jan 28 18:41:25 2003
++++ src/contrib/xmlwrapp-0.2.2/configure.pl Tue Jan 28 18:41:43 2003
+@@ -191,7 +191,7 @@
+ print "$output ";
+
+ if ($output =~ /^(\d+\.\d+)\.(\d+)$/) {
+- if ($1 >= 2.4 && $2 >= 7) {
++ if ($1 > 2.4 || ($1 == 2.4 && $2 >= 7)) {
+ print "[good]\n";
+ } else {
+ print "[fail]\n";