diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2006-09-13 15:24:13 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2006-09-13 15:24:13 +0000 |
commit | df4ef73dde0ecabd7b7a60a3517b93fb96fbbb55 (patch) | |
tree | efafd084544df636684500f460c23aff2c5c57c0 /lang | |
parent | e17ad131688f07f347bd037b804802fc4248eb56 (diff) | |
download | ports-df4ef73dde0ecabd7b7a60a3517b93fb96fbbb55.tar.gz ports-df4ef73dde0ecabd7b7a60a3517b93fb96fbbb55.zip |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/Makefile | 1 | ||||
-rw-r--r-- | lang/newlisp/Makefile | 42 | ||||
-rw-r--r-- | lang/newlisp/distinfo | 3 | ||||
-rw-r--r-- | lang/newlisp/files/patch-makefile_bsd | 23 | ||||
-rw-r--r-- | lang/newlisp/files/patch-makefile_bsd_lib | 14 | ||||
-rw-r--r-- | lang/newlisp/files/patch-makefile_bsd_utf8 | 23 | ||||
-rw-r--r-- | lang/newlisp/pkg-descr | 6 | ||||
-rw-r--r-- | lang/newlisp/pkg-plist | 58 |
8 files changed, 170 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile index 1c308e3fb899..816bdd7e3105 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -160,6 +160,7 @@ SUBDIR += mozart SUBDIR += munger SUBDIR += nawk + SUBDIR += newlisp SUBDIR += nhc98 SUBDIR += nickle SUBDIR += njs diff --git a/lang/newlisp/Makefile b/lang/newlisp/Makefile new file mode 100644 index 000000000000..3ee3555f2833 --- /dev/null +++ b/lang/newlisp/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: newlisp +# Date created: 2006-09-13 +# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru> +# +# $MBSDlabs$ +# $FreeBSD$ +# + +PORTNAME= newlisp +PORTVERSION= 8.9.0 +CATEGORIES= lang +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR=${PORTNAME} +EXTRACT_SUFX= .tgz + +MAINTAINER= ssedov@mbsd.msk.ru +COMMENT= LISP like scripting language + +RUN_DEPENDS= wish${TK_VER}:${PORTSDIR}/x11-toolkits/tk${TK_VER:S,.,,g} + +HAS_CONFIGURE= yes +ALL_TARGET= default + +TK_VER= 8.4 +MAN1= newlisp.1 newlisp-tk.1 + +.include <bsd.port.pre.mk> + +post-patch: + @${REINPLACE_CMD} -E -e "s,install -m 644, \$${BSD_INSTALL_DATA},g" \ + -e "s,install -m 755, \$${BSD_INSTALL_SCRIPT},g" \ + -e "s,^(datadir=).*,\1${PREFIX}/share,g" \ + -e "s,^(mandir=).*,\1${PREFIX}/man,g" \ + -e "s,^(bindir=).*,\1${PREFIX}/bin,g" \ + ${WRKSRC}/Makefile + + @${REINPLACE_CMD} -E -e "s,exec wish,exec wish${TK_VER}," \ + -e "s,/usr/share/newlisp,${DATADIR},g" \ + -e "s,/usr/bin,${PREFIX}/bin,g" \ + ${WRKSRC}/newlisp-tk/newlisp-tk.tcl + +.include <bsd.port.post.mk> diff --git a/lang/newlisp/distinfo b/lang/newlisp/distinfo new file mode 100644 index 000000000000..97beaeda5b6e --- /dev/null +++ b/lang/newlisp/distinfo @@ -0,0 +1,3 @@ +MD5 (newlisp-8.9.0.tgz) = 0c68057884e3f9f7c03e93c5a9ab5cd0 +SHA256 (newlisp-8.9.0.tgz) = d13bfdd33226035f401c402f7d6f575e28c663df77a1a779e01333696025dc52 +SIZE (newlisp-8.9.0.tgz) = 653949 diff --git a/lang/newlisp/files/patch-makefile_bsd b/lang/newlisp/files/patch-makefile_bsd new file mode 100644 index 000000000000..aaa804c2207f --- /dev/null +++ b/lang/newlisp/files/patch-makefile_bsd @@ -0,0 +1,23 @@ +--- makefile_bsd.orig Wed Sep 13 17:32:12 2006 ++++ makefile_bsd Wed Sep 13 17:32:35 2006 +@@ -4,16 +4,16 @@ + OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \ + nl-sock.o nl-import.o nl-xml.o nl-web.o nl-matrix.o nl-debug.o pcre.o + +-CFLAGS = -Wall -Wno-uninitialized -O2 -c -g -DREADLINE -D_BSD ++CFLAGS += -c -DREADLINE -D_BSD + # for netBSD use following line + #CFLAGS = -Wall -Wno-uninitialized -O2 -c -g -D_BSD + +-CC = gcc ++#CC = gcc + + default: $(OBJS) +- $(CC) $(OBJS) -g -lm -lreadline -lncurses -o newlisp ++ $(CC) $(OBJS) -lm -lreadline -lncurses -o newlisp + # for netBSD use following line +-# $(CC) $(OBJS) -g -lm -o newlisp ++# $(CC) $(OBJS) -lm -o newlisp + strip newlisp + + .c.o: diff --git a/lang/newlisp/files/patch-makefile_bsd_lib b/lang/newlisp/files/patch-makefile_bsd_lib new file mode 100644 index 000000000000..b57df1cd51b5 --- /dev/null +++ b/lang/newlisp/files/patch-makefile_bsd_lib @@ -0,0 +1,14 @@ +--- makefile_bsd_lib.orig Wed Sep 13 17:32:38 2006 ++++ makefile_bsd_lib Wed Sep 13 17:32:59 2006 +@@ -3,9 +3,9 @@ + OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \ + nl-sock.o nl-import.o nl-xml.o nl-web.o nl-matrix.o nl-debug.o pcre.o unix-lib.o + +-CFLAGS = -Wall -pedantic -Wno-uninitialized -O2 -c -DLIBRARY -D_BSD ++CFLAGS +=-c -DLIBRARY -D_BSD + +-CC = gcc ++#CC = gcc + + default: $(OBJS) + $(CC) $(OBJS) -lm -shared -o newlisp.so diff --git a/lang/newlisp/files/patch-makefile_bsd_utf8 b/lang/newlisp/files/patch-makefile_bsd_utf8 new file mode 100644 index 000000000000..d6d77d394122 --- /dev/null +++ b/lang/newlisp/files/patch-makefile_bsd_utf8 @@ -0,0 +1,23 @@ +--- makefile_bsd_utf8.orig Wed Sep 13 17:33:18 2006 ++++ makefile_bsd_utf8 Wed Sep 13 17:33:47 2006 +@@ -4,16 +4,16 @@ + OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \ + nl-sock.o nl-import.o nl-xml.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o + +-CFLAGS = -Wall -Wno-uninitialized -O2 -c -g -DREADLINE -D_BSD -DSUPPORT_UTF8 ++CFLAGS += -c -DREADLINE -D_BSD -DSUPPORT_UTF8 + # for netBSD use following line + #CFLAGS = -Wall -Wno-uninitialized -O2 -c -g -D_BSD + +-CC = gcc ++#CC = gcc + + default: $(OBJS) +- $(CC) $(OBJS) -g -lm -lreadline -lncurses -o newlisp ++ $(CC) $(OBJS) -lm -lreadline -lncurses -o newlisp + # for netBSD use following line +-# $(CC) $(OBJS) -g -lm -o newlisp ++# $(CC) $(OBJS) -lm -o newlisp + strip newlisp + + .c.o: diff --git a/lang/newlisp/pkg-descr b/lang/newlisp/pkg-descr new file mode 100644 index 000000000000..51d56d1aa330 --- /dev/null +++ b/lang/newlisp/pkg-descr @@ -0,0 +1,6 @@ +The newLISP is a scripting language for developing web applications and +programs in general and in the domains of artificial intelligence (AI) and +statistics. + +Author: Lutz Mueller +WWW: http://www.newlisp.org/ diff --git a/lang/newlisp/pkg-plist b/lang/newlisp/pkg-plist new file mode 100644 index 000000000000..cb6ed40c52e1 --- /dev/null +++ b/lang/newlisp/pkg-plist @@ -0,0 +1,58 @@ +bin/newlisp +bin/newlisp-tk +%%DATADIR%%/COPYING +%%DATADIR%%/CREDITS +%%DATADIR%%/cgi.lsp +%%DATADIR%%/doc/manual_frame.html +%%DATADIR%%/doc/newlisp-tk.html +%%DATADIR%%/doc/newlisp_index.html +%%DATADIR%%/doc/newlisp_manual.html +%%DATADIR%%/ftp.lsp +%%DATADIR%%/gmp.lsp +%%DATADIR%%/hash.lsp +%%DATADIR%%/infix.lsp +%%DATADIR%%/init.lsp.example +%%DATADIR%%/link.lsp +%%DATADIR%%/mysql.lsp +%%DATADIR%%/mysql5.lsp +%%DATADIR%%/newlisp-tk/Demo.lsp +%%DATADIR%%/newlisp-tk/Drag.lsp +%%DATADIR%%/newlisp-tk/Hanoi.lsp +%%DATADIR%%/newlisp-tk/Mouse.lsp +%%DATADIR%%/newlisp-tk/Random.lsp +%%DATADIR%%/newlisp-tk/Turtle.lsp +%%DATADIR%%/newlisp-tk/images/aboutImg.gif +%%DATADIR%%/newlisp-tk/images/clearImg.gif +%%DATADIR%%/newlisp-tk/images/consoleImg.gif +%%DATADIR%%/newlisp-tk/images/continueImg.gif +%%DATADIR%%/newlisp-tk/images/copyImg.gif +%%DATADIR%%/newlisp-tk/images/cutImg.gif +%%DATADIR%%/newlisp-tk/images/debugImg.gif +%%DATADIR%%/newlisp-tk/images/deleteImg.gif +%%DATADIR%%/newlisp-tk/images/editImg.gif +%%DATADIR%%/newlisp-tk/images/evalImg.gif +%%DATADIR%%/newlisp-tk/images/evalPrintImg.gif +%%DATADIR%%/newlisp-tk/images/fileImg.gif +%%DATADIR%%/newlisp-tk/images/helpImg.gif +%%DATADIR%%/newlisp-tk/images/newImg.gif +%%DATADIR%%/newlisp-tk/images/newlisp.ico +%%DATADIR%%/newlisp-tk/images/nextImg.gif +%%DATADIR%%/newlisp-tk/images/nltkImg.gif +%%DATADIR%%/newlisp-tk/images/openImg.gif +%%DATADIR%%/newlisp-tk/images/pasteImg.gif +%%DATADIR%%/newlisp-tk/images/quitImg.gif +%%DATADIR%%/newlisp-tk/images/reloadImg.gif +%%DATADIR%%/newlisp-tk/images/saveImg.gif +%%DATADIR%%/newlisp-tk/images/stepImg.gif +%%DATADIR%%/newlisp-tk/tcltk-app.lsp +%%DATADIR%%/odbc.lsp +%%DATADIR%%/pop3.lsp +%%DATADIR%%/smtp.lsp +%%DATADIR%%/sqlite3.lsp +%%DATADIR%%/stat.lsp +%%DATADIR%%/tcltk.lsp +%%DATADIR%%/zlib.lsp +@dirrm %%DATADIR%%/newlisp-tk/images +@dirrm %%DATADIR%%/newlisp-tk +@dirrm %%DATADIR%%/doc +@dirrm %%DATADIR%% |