From ea25dbefac7048bf98540d1069b426c4420df190 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Sun, 14 Dec 2003 21:50:44 +0000 Subject: [PATCH] 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 --- lang/Makefile | 1 + lang/freetxl/Makefile | 52 ++++++++++++++++++++++++++++++++++++++++++ lang/freetxl/distinfo | 1 + lang/freetxl/pkg-descr | 20 ++++++++++++++++ lang/freetxl/pkg-plist | 9 ++++++++ 5 files changed, 83 insertions(+) create mode 100644 lang/freetxl/Makefile create mode 100644 lang/freetxl/distinfo create mode 100644 lang/freetxl/pkg-descr create mode 100644 lang/freetxl/pkg-plist 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 +# +# $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 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 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