# $Id$ PortSystem 1.0 name ucblogo version 5.5 distname ${name} extract.suffix .tar.gz categories lang maintainers nomaintainer platforms darwin description Berkeley Logo long_description \ Berkeley Logo is a free Logo interpreter. homepage http://www.cs.berkeley.edu/~bh/logo.html master_sites ftp://ftp.cs.berkeley.edu/pub/ucblogo/ \ http://http.cs.berkeley.edu/~bh/downloads/ checksums md5 47b8468ec9222d7e3893fae90e537786 post-configure { reinplace "s|gmake|make|g" "${worksrcpath}/makefile" reinplace "s|LIBLOC = \$\(prefix\)/lib/logo|LIBLOC = \$\(prefix\)/share/logo|" "${worksrcpath}/makefile" reinplace "s|INFODIR = \$\(prefix\)/info|INFODIR = \$\(prefix\)/share/info|" "${worksrcpath}/emacs/makefile" } pre-destroot { reinplace "s|prefix = ${prefix}|prefix = ${destroot}${prefix}|" "${worksrcpath}/makefile" }