[95394] trunk/dports/lang
and.damore at macports.org
and.damore at macports.org
Wed Jul 11 13:10:21 PDT 2012
Revision: 95394
https://trac.macports.org/changeset/95394
Author: and.damore at macports.org
Date: 2012-07-11 13:10:21 -0700 (Wed, 11 Jul 2012)
Log Message:
-----------
new port: newlisp, current portfile only supports 64 bit config
Added Paths:
-----------
trunk/dports/lang/newlisp/
trunk/dports/lang/newlisp/Portfile
trunk/dports/lang/newlisp/files/
trunk/dports/lang/newlisp/files/makefile_build
Added: trunk/dports/lang/newlisp/Portfile
===================================================================
--- trunk/dports/lang/newlisp/Portfile (rev 0)
+++ trunk/dports/lang/newlisp/Portfile 2012-07-11 20:10:21 UTC (rev 95394)
@@ -0,0 +1,43 @@
+# $Id$
+
+PortSystem 1.0
+
+name newlisp
+version 10.4.3
+categories lang
+maintainers and.damore openmaintainer
+platforms darwin
+license GPL-3
+description newLISP is a LISP-like scripting language
+long_description \
+ newLISP is a LISP-like scripting language for doing things you/ \
+ typically do with scripting languages: programming for the/ \
+ internet, system administration, text processing, gluing other/ \
+ programs together, etc. newLISP is a scripting LISP for people/ \
+ who are fascinated by LISP's beauty and power of expression, but/ \
+ who need it stripped down to easy-to-learn essentials.
+
+homepage http://clisp.cons.org/
+master_sites sourceforge
+extract.suffix .tgz
+checksums md5 f744b2ef55cba3f4b8729a34a647b43b \
+ sha1 7caf5b54311d0004ed1fd7b14e1929ad2ae5977c \
+ rmd160 ca51e93e672e5bd57f9fb7cff5d81f26ebece37a
+
+supported_archs x86_64
+depends_lib port:readline \
+ port:libffi
+
+configure {
+ # default configure script would pick 32 bit makefile, we're going with 64 bit
+ copy -force ${filespath}/makefile_build ${worksrcpath}
+ reinplace "s|%CFLAGS%|${configure.cflags} ${configure.cc_archflags}|" ${worksrcpath}/makefile_build
+}
+
+# there's a %COMPILER% placeholder for CC as well
+build.args-append CC=${configure.cc}
+
+# newlisp's makefile don't support DESTDIR but provide an install_home target using $HOME
+# remember to check makefile_install and remove the following if DESTDIR gets supported
+destroot.args HOME=${destroot}${prefix}
+destroot.target install_home
Property changes on: trunk/dports/lang/newlisp/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/lang/newlisp/files/makefile_build
===================================================================
--- trunk/dports/lang/newlisp/files/makefile_build (rev 0)
+++ trunk/dports/lang/newlisp/files/makefile_build 2012-07-11 20:10:21 UTC (rev 95394)
@@ -0,0 +1,22 @@
+# makefile for newLISP v. 10.x.x on Mac OSX with readline support using LLVM compiler
+#
+# needs readline library and headerfiles installed (X tools)
+#
+
+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 nl-utf8.o
+
+CFLAGS = %CFLAGS% -c -O1 -DREADLINE -DMAC_OSX -DSUPPORT_UTF8 -DNEWLISP64 -DFFI
+
+CC = %COMPILER%
+
+default: $(OBJS)
+ $(CC) %CFLAGS% $(OBJS) -lm -lreadline -lffi -o newlisp
+ strip newlisp
+
+.c.o:
+ $(CC) $(CFLAGS) $<
+
+$(OBJS): primes.h protos.h makefile_darwinLP64_utf8_llvm_ffi
+
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120711/60e4fc1b/attachment.html>
More information about the macports-changes
mailing list