Ticket #530: Portfile.2

File Portfile.2, 1.2 KB (added by anselmg@…, 21 years ago)

Corrected destroot issues

Line 
1# $Id: $
2PortSystem              1.0
3name                    lua
4version                 5.0
5categories              lang
6maintainers             anselmg@t-online.de
7description             powerful, light-weight programming language
8long_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.
9platforms               darwin
10homepage                http://www.lua.org
11master_sites            http://www.lua.org/ftp/
12distname                lua-${version}
13extract.sufx            .tar.gz
14checksums               md5 6f14803fad389fb1cb15d17edfeddd91
15post-patch              { reinplace s|/usr/local|${prefix}/| ${worksrcpath}/config
16                          reinplace s|\$(INSTALL_BIN)|${destroot}\$(INSTALL_BIN)/| ${worksrcpath}/Makefile
17                          reinplace s|\$(INSTALL_INC)|${destroot}\$(INSTALL_INC)/| ${worksrcpath}/Makefile
18                          reinplace s|\$(INSTALL_LIB)|${destroot}\$(INSTALL_LIB)/| ${worksrcpath}/Makefile
19                          reinplace s|\$(INSTALL_MAN)|${destroot}\$(INSTALL_MAN)/| ${worksrcpath}/Makefile }