# $Id: Portfile,v 1.1 2003/07/19 20:50:23 fkr Exp $ PortSystem 1.0 name lua version 5.0 categories lang maintainers anselmg@t-online.de description powerfull, light-weight programming language long_description Lua is a powerful, light-weight programming language \ designed for extending applications. Lua is also frequently \ used as a general-purpose, stand-alone language. platforms darwin homepage http://www.lua.org master_sites http://www.lua.org/ftp/ distname lua-${version} extract.sufx .tar.gz checksums md5 6f14803fad389fb1cb15d17edfeddd91 post-patch { reinplace s|/usr/local|${prefix}/| ${worksrcpath}/config reinplace s|\$(INSTALL_BIN)|${destroot}\$(INSTALL_BIN)/| ${worksrcpath}/Makefile reinplace s|\$(INSTALL_INC)|${destroot}\$(INSTALL_INC)/| ${worksrcpath}/Makefile reinplace s|\$(INSTALL_LIB)|${destroot}\$(INSTALL_LIB)/| ${worksrcpath}/Makefile reinplace s|\$(INSTALL_MAN)|${destroot}\$(INSTALL_MAN)/| ${worksrcpath}/Makefile }