1 | # $Id: Portfile 95396 2012-07-11 20:20:27Z and.damore@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name newlisp |
---|
6 | version 10.4.3 |
---|
7 | categories lang |
---|
8 | maintainers and.damore openmaintainer |
---|
9 | platforms darwin |
---|
10 | license GPL-3 |
---|
11 | description newLISP is a LISP-like scripting language |
---|
12 | long_description \ |
---|
13 | newLISP is a LISP-like scripting language for doing things you \ |
---|
14 | typically do with scripting languages: programming for the \ |
---|
15 | internet, system administration, text processing, gluing other \ |
---|
16 | programs together, etc. newLISP is a scripting LISP for people \ |
---|
17 | who are fascinated by LISP's beauty and power of expression, but \ |
---|
18 | who need it stripped down to easy-to-learn essentials. |
---|
19 | |
---|
20 | homepage http://www.newlisp.org |
---|
21 | master_sites sourceforge |
---|
22 | extract.suffix .tgz |
---|
23 | checksums md5 f744b2ef55cba3f4b8729a34a647b43b \ |
---|
24 | sha1 7caf5b54311d0004ed1fd7b14e1929ad2ae5977c \ |
---|
25 | rmd160 ca51e93e672e5bd57f9fb7cff5d81f26ebece37a |
---|
26 | |
---|
27 | supported_archs x86_64 |
---|
28 | depends_lib port:readline \ |
---|
29 | port:libffi |
---|
30 | |
---|
31 | post-configure { |
---|
32 | # default configure script would pick 32 bit makefile, we're going with 64 bit |
---|
33 | copy -force ${filespath}/makefile_build ${worksrcpath} |
---|
34 | reinplace "s|%CFLAGS%|${configure.cflags} ${configure.cc_archflags}|" ${worksrcpath}/makefile_build |
---|
35 | } |
---|
36 | |
---|
37 | # there's a %COMPILER% placeholder for CC as well |
---|
38 | build.args-append CC=${configure.cc} |
---|
39 | |
---|
40 | # newlisp's makefile don't support DESTDIR but provide an install_home target using $HOME |
---|
41 | # remember to check makefile_install and remove the following if DESTDIR gets supported |
---|
42 | destroot.args HOME=${destroot}${prefix} |
---|
43 | destroot.target install_home |
---|