source: trunk/dports/lang/cbmbasic/Portfile

Last change on this file was 123045, checked in by ryandesign@…, 3 years ago

cbmbasic: ensure we're UsingTheRightCompiler and -arch flags (#44531); install README.txt; add rmd160 and sha256 checksums;

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 123045 2014-08-04 05:56:27Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                cbmbasic
7epoch               1
8version             1.0
9revision            1
10categories          lang
11platforms           darwin freebsd linux
12maintainers         nomaintainer
13license             BSD
14
15description         Commodore BASIC
16
17long_description    This is a 100% compatible version of Commodore's version \
18                    of Microsoft BASIC 6502 as found on the Commodore 64. You \
19                    can use it in interactive mode or pass a BASIC file as a \
20                    command line parameter.
21
22homepage            http://cbmbasic.sourceforge.net/
23master_sites        sourceforge:project/cbmbasic/cbmbasic/${version}/
24
25checksums           md5     966cf93950809c3eace244af702cf895 \
26                    sha1    54564daa7f28be98b03ae7dd1eece9e5439c95c3 \
27                    rmd160  475f8223220dc8230f20109bbc86ae652aabff55 \
28                    sha256  2735dedf3f9ad93fa947ad0fb7f54acd8e84ea61794d786776029c66faf64b04
29
30extract.suffix      .tgz
31
32patchfiles          patch-Makefile.diff
33
34use_configure       no
35
36variant universal {}
37
38build.env           CC="${configure.cc}" \
39                    CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
40                    LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
41
42destroot {
43    xinstall -m 755 ${worksrcpath}/cbmbasic ${destroot}${prefix}/bin
44
45    set docdir ${prefix}/share/doc/${subport}
46    xinstall -d ${destroot}${docdir}
47    xinstall -m 644 ${worksrcpath}/README.txt ${destroot}${docdir}
48}
Note: See TracBrowser for help on using the repository browser.