aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2002-06-30 02:11:57 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2002-06-30 02:11:57 +0000
commit477ad67cf760eb0471f4416bd719d327e9ac2703 (patch)
treeff91c9b3800092caeffddc07c5bef7092558193e /devel
parenteec84bcf450a246d503ecb3b982c43053fb038e7 (diff)
downloadports-477ad67cf760eb0471f4416bd719d327e9ac2703.tar.gz
ports-477ad67cf760eb0471f4416bd719d327e9ac2703.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/byaccj/Makefile25
-rw-r--r--devel/byaccj/distinfo1
-rw-r--r--devel/byaccj/files/patch-src-Makefile13
-rw-r--r--devel/byaccj/pkg-comment1
-rw-r--r--devel/byaccj/pkg-descr10
-rw-r--r--devel/byaccj/pkg-plist1
7 files changed, 52 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index d8868ad2f16f..8576921a0a27 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -67,6 +67,7 @@
SUBDIR += bugbuddy
SUBDIR += bugbuddy2
SUBDIR += bugzilla
+ SUBDIR += byaccj
SUBDIR += c2lib
SUBDIR += c2man
SUBDIR += c4
diff --git a/devel/byaccj/Makefile b/devel/byaccj/Makefile
new file mode 100644
index 000000000000..2b3cd28119ea
--- /dev/null
+++ b/devel/byaccj/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: byacc
+# Date created: 28 Jun 2002
+# Whom: David Xu
+#
+# $FreeBSD$
+#
+
+PORTNAME= byaccj
+PORTVERSION= 1.1
+CATEGORIES= devel java
+MASTER_SITES= http://troi.lincom-asg.com/~rjamison/byacc/ \
+ http://opensource.zjonline.com.cn/distfiles/
+DISTNAME= byaccj1.1
+
+MAINTAINER= davidxu@viatech.com.cn
+
+WRKSRC= $(WRKDIR)/byaccj1.1/src
+
+post-patch:
+ @${PERL} -pi -e 's#<malloc.h>#<stdlib.h>#' ${WRKSRC}/defs.h ${WRKSRC}/*c
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/yacc ${PREFIX}/bin/byaccj
+
+.include <bsd.port.mk>
diff --git a/devel/byaccj/distinfo b/devel/byaccj/distinfo
new file mode 100644
index 000000000000..93e00b465c2f
--- /dev/null
+++ b/devel/byaccj/distinfo
@@ -0,0 +1 @@
+MD5 (byaccj1.1.tar.gz) = f47267af6d9dfe6914be3c08ffc7713c
diff --git a/devel/byaccj/files/patch-src-Makefile b/devel/byaccj/files/patch-src-Makefile
new file mode 100644
index 000000000000..3eb75818dc82
--- /dev/null
+++ b/devel/byaccj/files/patch-src-Makefile
@@ -0,0 +1,13 @@
+--- Makefile.orig Sun Jun 30 06:02:58 2002
++++ Makefile Sun Jun 30 06:03:43 2002
+@@ -4,8 +4,8 @@
+ ## Author: Bob Jamison
+ #################################################
+
+-CC = gcc
+-CFLAGS = -O
++CC ?= gcc
++CFLAGS ?= -O
+ LDFLAGS = -static
+ TAR = /bin/tar
+ GZIP = /usr/sbin/gzip
diff --git a/devel/byaccj/pkg-comment b/devel/byaccj/pkg-comment
new file mode 100644
index 000000000000..d9097f1226ec
--- /dev/null
+++ b/devel/byaccj/pkg-comment
@@ -0,0 +1 @@
+A java extension of BSD YACC-compatible parser generator
diff --git a/devel/byaccj/pkg-descr b/devel/byaccj/pkg-descr
new file mode 100644
index 000000000000..868a475efdb8
--- /dev/null
+++ b/devel/byaccj/pkg-descr
@@ -0,0 +1,10 @@
+BYACC/Java is an extension of the Berkeley v 1.8 YACC-compatible parser
+generator. Standard YACC takes a YACC source file, and generates one or
+more C files from it, which if compiled properly, will produce a LALR-
+grammar parser. this extension support a -J option to generate Java source
+code.
+
+WWW: http://troi.lincom-asg.com/~rjamison/byacc/
+
+- David Xu
+davidxu@viatech.com.cn
diff --git a/devel/byaccj/pkg-plist b/devel/byaccj/pkg-plist
new file mode 100644
index 000000000000..893c47448cd0
--- /dev/null
+++ b/devel/byaccj/pkg-plist
@@ -0,0 +1 @@
+bin/byaccj