source: trunk/dports/lang/pfe/Portfile @ 95224

Last change on this file since 95224 was 95224, checked in by mww@…, 8 years ago

pfe: add license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 95224 2012-07-07 12:56:32Z mww@macports.org $
2
3PortSystem 1.0
4
5name            pfe
6version         0.33.71
7categories      lang
8license         LGPL-2
9maintainers     nomaintainer
10platforms       darwin
11description     Implementation of ANSI Forth
12long_description        The Forth-system is closely modeled along the new American National Standard for the programming language Forth. Every word of every word set mentioned in the dpANS-6 document of June 1993 has been implemented.  Additionally it is compatible to Forth-83.
13
14homepage        http://pfe.sourceforge.net/
15master_sites    sourceforge
16use_bzip2       yes
17
18checksums       sha1    2e61bbf550767793b20bffc544b625fc4e889f44 \
19                rmd160  5bfdc5561c281f5d506151ec17552b03e6a411ab
20
21configure.args  --with-sbr-static --without-testmodule
22
23depends_lib     port:ncurses
24
25# configure: error: cannot determine a size for long
26universal_variant       no
27
28post-configure {
29        global reldir
30        set reldir [string map {" " "_" "/" "_"} [exec uname -srm].d]
31        xinstall -m 755 /usr/bin/glibtool ${worksrcpath}/${reldir}/pfe/libtool
32}
33
34destroot {
35        global reldir
36        xinstall -m 755 ${worksrcpath}/${reldir}/pfe/.libs/pfe ${destroot}${prefix}/bin
37        eval xinstall -m 644 [glob ${worksrcpath}/${reldir}/pfe/.libs/*.dylib] ${destroot}${prefix}/lib
38        xinstall -m 755 -d ${destroot}${prefix}/lib/pfe-fastest
39        eval xinstall -m 644 [glob ${worksrcpath}/${reldir}/pfe/.libs/*.so] ${destroot}${prefix}/lib/pfe-fastest
40        xinstall -m 644 ${worksrcpath}/doc/pfe.1 ${destroot}${prefix}/share/man/man1
41        xinstall -m 755 -d ${destroot}${prefix}/share/pfe
42        eval xinstall -m 644 [glob ${worksrcpath}/lib/*.4th] ${destroot}${prefix}/share/pfe
43        xinstall -m 644 ${worksrcpath}/lib/easy4th.f ${destroot}${prefix}/share/pfe
44}
45
46# Fix gcc Intel bug, apparently. See:
47# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11001
48# And:
49# http://factor-language.blogspot.com/2007/08/gcc-is-open-sores-software.html
50# The problem is only with -O1, which is pfe's built-in default.
51configure.optflags      -O2
52configure.args-append   --with-opt=[string map {"-O" ""} ${configure.optflags}]
Note: See TracBrowser for help on using the repository browser.