svn commit: r361615 - in head/devel: . libantlr3c libantlr3c/files
Tijl Coosemans
tijl at FreeBSD.org
Sat Jul 12 13:18:56 UTC 2014
Author: tijl
Date: Sat Jul 12 13:18:55 2014
New Revision: 361615
URL: http://svnweb.freebsd.org/changeset/ports/361615
QAT: https://qat.redports.org/buildarchive/r361615/
Log:
New port: devel/libantlr3c
ANTLR, ANother Tool for Language Recognition, is a language tool that
provides a framework for constructing recognizers, interpreters, compilers,
and translators from grammatical descriptions containing actions in a
variety of target languages. ANTLR provides excellent support for tree
construction, tree walking, translation, error recovery, and error
reporting.
This package provides the ANTLR v3 C runtime library.
PR: 191470
Submitted by: Muhammad Moinur Rahman <5u623l20 at gmail.com>
Added:
head/devel/libantlr3c/
head/devel/libantlr3c/Makefile (contents, props changed)
head/devel/libantlr3c/distinfo (contents, props changed)
head/devel/libantlr3c/files/
head/devel/libantlr3c/files/patch-configure (contents, props changed)
head/devel/libantlr3c/pkg-descr (contents, props changed)
head/devel/libantlr3c/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sat Jul 12 12:46:44 2014 (r361614)
+++ head/devel/Makefile Sat Jul 12 13:18:55 2014 (r361615)
@@ -938,6 +938,7 @@
SUBDIR += libIDL
SUBDIR += libPropList
SUBDIR += libafterbase
+ SUBDIR += libantlr3c
SUBDIR += libarena
SUBDIR += libassa
SUBDIR += libassetml
Added: head/devel/libantlr3c/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libantlr3c/Makefile Sat Jul 12 13:18:55 2014 (r361615)
@@ -0,0 +1,20 @@
+# Created by: Muhammad Moinur Rahman<5u623l20 at gmail.com>
+# $FreeBSD$
+
+PORTNAME= libantlr3c
+PORTVERSION= 3.4
+CATEGORIES= devel
+MASTER_SITES= http://www.antlr3.org/download/C/
+
+MAINTAINER= 5u623l20 at gmail.com
+COMMENT= ANother Tool for Language Recognition (C runtime)
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+GNU_CONFIGURE= yes
+INSTALL_TARGET= install-strip
+USES= gmake libtool
+USE_LDCONFIG= yes
+
+.include <bsd.port.mk>
Added: head/devel/libantlr3c/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libantlr3c/distinfo Sat Jul 12 13:18:55 2014 (r361615)
@@ -0,0 +1,2 @@
+SHA256 (libantlr3c-3.4.tar.gz) = ca914a97f1a2d2f2c8e1fca12d3df65310ff0286d35c48b7ae5f11dcc8b2eb52
+SIZE (libantlr3c-3.4.tar.gz) = 546039
Added: head/devel/libantlr3c/files/patch-configure
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libantlr3c/files/patch-configure Sat Jul 12 13:18:55 2014 (r361615)
@@ -0,0 +1,46 @@
+--- configure.orig 2014-06-29 05:47:03.653220480 +0600
++++ configure 2014-06-29 05:52:37.044197079 +0600
+@@ -10721,7 +10721,7 @@
+
+ # Checks for header files.
+ $ac_includes_default
+-for ac_header in sys/types.h netinet/in.h arpa/nameser.h netdb.h resolv.h
++for ac_header in sys/types.h netinet/in.h arpa/nameser.h netdb.h resolv.h netinet/tcp.h
+ do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TYPES_H
+@@ -10736,6 +10736,10 @@
+ #ifdef HAVE_NETDB_H
+ # include <netdb.h>
+ #endif
++#ifdef HAVE_NETINET_TCP_H
++#include <netinet/tcp.h>
++#endif
++
+ "
+ if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+@@ -10818,23 +10822,6 @@
+ done
+
+
+-for ac_header in netinet/tcp.h
+-do :
+- ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "#ifdef HAVE_NETINET_TCP_H
+-#include <netinet/tcp.h>
+-#endif
+-
+-"
+-if test "x$ac_cv_header_netinet_tcp_h" = x""yes; then :
+- cat >>confdefs.h <<_ACEOF
+-#define HAVE_NETINET_TCP_H 1
+-_ACEOF
+-
+-fi
+-
+-done
+-
+-
+ for ac_header in sys/socket.h socket.h
+ do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
Added: head/devel/libantlr3c/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libantlr3c/pkg-descr Sat Jul 12 13:18:55 2014 (r361615)
@@ -0,0 +1,10 @@
+ANTLR, ANother Tool for Language Recognition, is a language tool that
+provides a framework for constructing recognizers, interpreters,
+compilers, and translators from grammatical descriptions containing
+actions in a variety of target languages. ANTLR provides excellent
+support for tree construction, tree walking, translation, error
+recovery, and error reporting.
+
+This package provides the ANTLR v3 C runtime library.
+
+WWW: http://www.antlr3.org/
Added: head/devel/libantlr3c/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libantlr3c/pkg-plist Sat Jul 12 13:18:55 2014 (r361615)
@@ -0,0 +1,33 @@
+include/antlr3.h
+include/antlr3baserecognizer.h
+include/antlr3basetree.h
+include/antlr3basetreeadaptor.h
+include/antlr3bitset.h
+include/antlr3collections.h
+include/antlr3commontoken.h
+include/antlr3commontree.h
+include/antlr3commontreeadaptor.h
+include/antlr3commontreenodestream.h
+include/antlr3config.h
+include/antlr3convertutf.h
+include/antlr3cyclicdfa.h
+include/antlr3debugeventlistener.h
+include/antlr3defs.h
+include/antlr3encodings.h
+include/antlr3errors.h
+include/antlr3exception.h
+include/antlr3filestream.h
+include/antlr3input.h
+include/antlr3interfaces.h
+include/antlr3intstream.h
+include/antlr3lexer.h
+include/antlr3memory.h
+include/antlr3parser.h
+include/antlr3parsetree.h
+include/antlr3recognizersharedstate.h
+include/antlr3rewritestreams.h
+include/antlr3string.h
+include/antlr3tokenstream.h
+include/antlr3treeparser.h
+lib/libantlr3c.a
+lib/libantlr3c.so
More information about the svn-ports-all
mailing list