Skip to content
Permalink
Browse files

pfe:

 * upgrade to 0.33.62
 * declare the dependency on ncurses
 * fix build problem on Intel
 * make "port lint" happy

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@28276 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
ryandesign committed Aug 27, 2007
1 parent 74ecc55 commit 3b3767e6c5edc5e69a6034b8976380c2acc7517a
Showing with 26 additions and 7 deletions.
  1. +26 −7 lang/pfe/Portfile
@@ -1,8 +1,9 @@
# $Id$

PortSystem 1.0

name pfe
version 0.32.91
version 0.33.62
categories lang
maintainers nomaintainer@macports.org
platforms darwin
@@ -11,17 +12,35 @@ long_description The Forth-system is closely modeled along the new American Nati

homepage http://pfe.sourceforge.net/
master_sites sourceforge
checksums md5 8692440b7ae932c2551958b0e8be180c
use_bzip2 yes
checksums md5 d7fe180db4534413cf00a5194a485792
configure.args --with-sbr-static --without-testmodule
build.env MACOSX_DEPLOYMENT_TARGET=10.3

depends_lib port:ncurses

post-configure {
global reldir
set reldir [exec sh $worksrcpath/config.guess]
system "cp /usr/bin/glibtool ${worksrcpath}/Release/${reldir}/pfe/libtool"
set reldir [string map {" " "_" "/" "_"} [exec uname -srm].d]
xinstall -m 755 /usr/bin/glibtool ${worksrcpath}/${reldir}/pfe/libtool
}

destroot {
global reldir
system "cp ${worksrcpath}/Release/${reldir}/pfe/.libs/pfe ${destroot}${prefix}/bin"
system "cp ${worksrcpath}/Release/${reldir}/pfe/.libs/*.dylib ${destroot}${prefix}/lib"
system "cp ${worksrcpath}/Release/${reldir}/pfe/pfe.1 ${destroot}${prefix}/share/man/man1"
xinstall -m 755 ${worksrcpath}/${reldir}/pfe/.libs/pfe ${destroot}${prefix}/bin
eval xinstall -m 644 [glob ${worksrcpath}/${reldir}/pfe/.libs/*.dylib] ${destroot}${prefix}/lib
xinstall -m 755 -d ${destroot}${prefix}/lib/pfe-fastest
eval xinstall -m 644 [glob ${worksrcpath}/${reldir}/pfe/.libs/*.so] ${destroot}${prefix}/lib/pfe-fastest
xinstall -m 644 ${worksrcpath}/doc/pfe.1 ${destroot}${prefix}/share/man/man1
xinstall -m 755 -d ${destroot}${prefix}/share/pfe
eval xinstall -m 644 [glob ${worksrcpath}/lib/*.4th] ${destroot}${prefix}/share/pfe
xinstall -m 644 ${worksrcpath}/lib/easy4th.f ${destroot}${prefix}/share/pfe
}

# Fix gcc Intel bug, apparently. See:
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11001
# And:
# http://factor-language.blogspot.com/2007/08/gcc-is-open-sores-software.html
platform i386 {
configure.cflags-append -fno-builtin-strlen -fno-builtin-strcat
}

0 comments on commit 3b3767e

Please sign in to comment.
You can’t perform that action at this time.