Ticket #21564: Portfile

File Portfile, 1.3 KB (added by mdippery@…, 15 years ago)

Portfile for Shakespeare

Line 
1# $Id$
2
3PortSystem          1.0
4
5name                shakespeare
6version             1.2.1
7distname            spl-${version}
8categories          lang
9maintainers         gmail.com:mdippery
10
11description         Shakespeare programming language
12long_description    A programming language created with the design goal to \
13                    make the source code resemble Shakespeare plays. The \
14                    characters in the play are variables.
15homepage            http://shakespearelang.sourceforge.net/
16platforms           darwin
17master_sites        http://shakespearelang.sf.net/download/
18checksums           md5 c31de8415af80819eb944a1cecadddde \
19                    sha1 17adea7bbf5e1de1a29e71b19e5271f186e9698d \
20                    rmd160 0225bced2f236fc5c1850cd9fe5c48fc1c75aa1c
21depends_build       port:bison port:flex
22use_configure       no
23
24build.target        install
25
26destroot {
27    xinstall -m 755 -d ${destroot}${prefix}/bin
28    xinstall -m 755 -d ${destroot}${prefix}/include
29    xinstall -m 755 -d ${destroot}${prefix}/lib
30    xinstall -m 755 ${worksrcpath}/spl/bin/spl2c ${destroot}${prefix}/bin
31    xinstall -m 644 ${worksrcpath}/spl/include/spl.h ${destroot}${prefix}/include
32    xinstall -m 755 ${worksrcpath}/spl/lib/libspl.a ${destroot}${prefix}/lib
33}