aboutsummaryrefslogtreecommitdiff
path: root/devel/ragel
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-08-02 20:16:02 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-08-02 20:16:02 +0000
commit1c175837839cabd9e32a0a1774cef48f1a73ea77 (patch)
tree5b0d401a87605e9c2438a0d11f7b903058d50667 /devel/ragel
parent7c3c515b5e34fb15c35e37881ee29839c5efdef0 (diff)
downloadports-1c175837839cabd9e32a0a1774cef48f1a73ea77.tar.gz
ports-1c175837839cabd9e32a0a1774cef48f1a73ea77.zip
Notes
Diffstat (limited to 'devel/ragel')
-rw-r--r--devel/ragel/Makefile8
-rw-r--r--devel/ragel/distinfo4
-rw-r--r--devel/ragel/files/patch-rlparse.y20
-rw-r--r--devel/ragel/pkg-descr2
4 files changed, 27 insertions, 7 deletions
diff --git a/devel/ragel/Makefile b/devel/ragel/Makefile
index 3309347eba45..1a0000c1e9b6 100644
--- a/devel/ragel/Makefile
+++ b/devel/ragel/Makefile
@@ -7,10 +7,9 @@
#
PORTNAME= ragel
-PORTVERSION= 2.2
-PORTREVISION= 1
+PORTVERSION= 3.6
CATEGORIES= devel
-MASTER_SITES= http://www.essemage.com/ragel/
+MASTER_SITES= http://www.elude.ca/ragel/
MAINTAINER= ports@FreeBSD.org
COMMENT= Compile regular languages into executable C/C++ code
@@ -19,6 +18,7 @@ USE_REINPLACE= yes
USE_BISON= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= AWK="${AWK}"
MAN1= ragel.1
@@ -26,7 +26,7 @@ PLIST_FILES= bin/ragel
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
- 's|-g -Wall|@CFLAGS@|g'
+ 's|$$(CFLAGS)|$$(CXXFLAGS)|g'
post-build:
@cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} \
diff --git a/devel/ragel/distinfo b/devel/ragel/distinfo
index 584c055b33cf..baeace1b818d 100644
--- a/devel/ragel/distinfo
+++ b/devel/ragel/distinfo
@@ -1,2 +1,2 @@
-MD5 (ragel-2.2.tar.gz) = e0165484d8eeac0b0637793ed1e7a7e2
-SIZE (ragel-2.2.tar.gz) = 243782
+MD5 (ragel-3.6.tar.gz) = e8290044f4dcaf2f3149489efcec819d
+SIZE (ragel-3.6.tar.gz) = 416327
diff --git a/devel/ragel/files/patch-rlparse.y b/devel/ragel/files/patch-rlparse.y
new file mode 100644
index 000000000000..8fd2bd28c7ed
--- /dev/null
+++ b/devel/ragel/files/patch-rlparse.y
@@ -0,0 +1,20 @@
+--- rlparse.y.orig Sat Jul 3 03:46:42 2004
++++ rlparse.y Mon Aug 2 22:24:05 2004
+@@ -468,7 +468,7 @@
+ NoNameSep:
+ /* Nothing */ {
+ nameRef.empty();
+- }
++ };
+
+ /* A qualified state reference. */
+ StateRef:
+@@ -483,7 +483,7 @@
+ } |
+ /* Nothing. */ {
+ nameRef.empty();
+- }
++ };
+
+ /* List of names separated by :: */
+ StateRefNames:
diff --git a/devel/ragel/pkg-descr b/devel/ragel/pkg-descr
index e83729f662fd..7a48d39f9413 100644
--- a/devel/ragel/pkg-descr
+++ b/devel/ragel/pkg-descr
@@ -10,4 +10,4 @@ precisely the way you describe to Ragel how to compile your finite state
machines. Ragel also understands operators that insert function calls into
machines and operators that control any non-determinism in machines.
-WWW: http://www.essemage.com/ragel/
+WWW: http://www.elude.ca/ragel/