Ignore:
Timestamp:
Aug 4, 2014, 5:56:27 AM (3 years ago)
Author:
ryandesign@…
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/cbmbasic/Portfile

    r123043 r123045  
    77epoch               1
    88version             1.0
     9revision            1
    910categories          lang
    1011platforms           darwin freebsd linux
    1112maintainers         nomaintainer
    12 license             bsd
     13license             BSD
    1314
    1415description         Commodore BASIC
     
    2324
    2425checksums           md5     966cf93950809c3eace244af702cf895 \
    25                     sha1    54564daa7f28be98b03ae7dd1eece9e5439c95c3
     26                    sha1    54564daa7f28be98b03ae7dd1eece9e5439c95c3 \
     27                    rmd160  475f8223220dc8230f20109bbc86ae652aabff55 \
     28                    sha256  2735dedf3f9ad93fa947ad0fb7f54acd8e84ea61794d786776029c66faf64b04
    2629
    2730extract.suffix      .tgz
    2831
     32patchfiles          patch-Makefile.diff
     33
    2934use_configure       no
    3035
     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
    3142destroot {
    32     copy ${worksrcpath}/cbmbasic ${destroot}${prefix}/bin/
     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}
    3348}
Note: See TracChangeset for help on using the changeset viewer.