aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2003-12-15 05:50:44 +0800
committerpav <pav@FreeBSD.org>2003-12-15 05:50:44 +0800
commit21a3dbd5cee030a673c464fa4816e7fdf1b7134b (patch)
tree5dabe330203206db838e4976785fcc090871c01a
parent1cc714adac30a84671600e05e524bc6243b79b33 (diff)
downloadfreebsd-ports-gnome-21a3dbd5cee030a673c464fa4816e7fdf1b7134b.tar.gz
freebsd-ports-gnome-21a3dbd5cee030a673c464fa4816e7fdf1b7134b.tar.zst
freebsd-ports-gnome-21a3dbd5cee030a673c464fa4816e7fdf1b7134b.zip
Add freetxl, a unique programming language specifically designed to support
computer software analysis and source transformation tasks. It is the evolving result of more than fifteen years of concentrated research on rule-based structural transformation as a paradigm for the rapid solution of complex computing problems. PR: ports/54617 Submitted by: Ryan Thompson <ryan@sasknow.com>
-rw-r--r--lang/Makefile1
-rw-r--r--lang/freetxl/Makefile52
-rw-r--r--lang/freetxl/distinfo1
-rw-r--r--lang/freetxl/pkg-descr20
-rw-r--r--lang/freetxl/pkg-plist9
5 files changed, 83 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 882d4c80ae8d..12cd6ce3f9af 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -54,6 +54,7 @@
SUBDIR += forth
SUBDIR += fpc
SUBDIR += fpl
+ SUBDIR += freetxl
SUBDIR += gauche
SUBDIR += gawk
SUBDIR += gcc27
diff --git a/lang/freetxl/Makefile b/lang/freetxl/Makefile
new file mode 100644
index 000000000000..7e8e73f56e76
--- /dev/null
+++ b/lang/freetxl/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: freetxl
+# Date created: 25 April 2003
+# Whom: Ryan Thompson <ryan@sasknow.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= freetxl
+PORTVERSION= 10.3
+CATEGORIES= lang
+MASTER_SITES= ftp://ftp.sasknow.com/pub/txl/
+DISTNAME= txl${PORTVERSION}.linux
+
+MAINTAINER= ryan@sasknow.com
+COMMENT= The TXL Programming Language (transformation by example)
+
+USE_LINUX= yes
+STRIP=
+NO_BUILD= yes
+
+MAN1= txl.1 txlc.1 txldb.1 txlp.1
+
+PORTDOCS= 00README.txt COPYRIGHT.txt Documents.html Examples.html \
+ FILES.txt Learning.html Support.html
+
+do-install:
+ ${INSTALL_PROGRAM} \
+ ${WRKSRC}/bin/txl \
+ ${WRKSRC}/bin/txlc \
+ ${WRKSRC}/bin/txldb \
+ ${WRKSRC}/bin/txlp \
+ ${PREFIX}/bin
+ ${INSTALL_DATA} \
+ ${WRKSRC}/lib/txlapr.x \
+ ${WRKSRC}/lib/txlcvt.x \
+ ${WRKSRC}/lib/txlmain.o \
+ ${WRKSRC}/lib/txlpf.x \
+ ${WRKSRC}/lib/txlvm.o \
+ ${PREFIX}/lib
+.if !defined(NO_INSTALL_MANPAGES)
+.for file in ${MAN1}
+ ${INSTALL_MAN} ${WRKSRC}/man/man1/${file} ${PREFIX}/man/man1/
+.endfor
+.endif
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for file in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/lang/freetxl/distinfo b/lang/freetxl/distinfo
new file mode 100644
index 000000000000..a093a2d00aad
--- /dev/null
+++ b/lang/freetxl/distinfo
@@ -0,0 +1 @@
+MD5 (txl10.3.linux.tar.gz) = 6d00a63b6523fb7738b3b539f940e7ed
diff --git a/lang/freetxl/pkg-descr b/lang/freetxl/pkg-descr
new file mode 100644
index 000000000000..acc149166d0d
--- /dev/null
+++ b/lang/freetxl/pkg-descr
@@ -0,0 +1,20 @@
+TXL is a unique programming language specifically designed to support computer
+software analysis and source transformation tasks. It is the evolving result
+of more than fifteen years of concentrated research on rule-based structural
+transformation as a paradigm for the rapid solution of complex computing
+problems.
+
+The TXL programming language is a hybrid functional / rule-based language with
+unification, implied iteration and deep pattern match.
+
+Each TXL program has two components:
+
+ * A Description of the Structures to be Transformed
+ Specified as an EBNF grammar, in context-free ambiguous form.
+
+ * A Set of Structural Transformation Rules
+ Specified by example, using pattern/replacement pairs.
+
+WWW: http://www.txl.ca/
+
+- Ryan Thompson <ryan@sasknow.com>
diff --git a/lang/freetxl/pkg-plist b/lang/freetxl/pkg-plist
new file mode 100644
index 000000000000..a27c0f134e0e
--- /dev/null
+++ b/lang/freetxl/pkg-plist
@@ -0,0 +1,9 @@
+bin/txl
+bin/txlc
+bin/txldb
+bin/txlp
+lib/txlapr.x
+lib/txlcvt.x
+lib/txlmain.o
+lib/txlpf.x
+lib/txlvm.o