Files
Ryan Schmidt 02f911f953 cc65: Fix version, fix universal, use -Os, etc.
Fix the version number displayed by the programs.

Use libtool instead of ar to make the static library so that the
universal variant can be used.

Use -Os or whatever the MacPorts optimization flags are.

Disable silent rules.

Specify the correct license.

Update homepage.
2021-09-26 07:04:05 -05:00

41 lines
1.4 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup github 1.0
PortGroup makefile 1.0
github.setup cc65 cc65 2.19 V
revision 1
conflicts grc
categories lang
platforms darwin
maintainers {ryandesign @ryandesign} openmaintainer
license zlib
description 6502 C compiler
long_description cc65 is a complete cross development package for 65(C)02 \
systems, including a powerful macro assembler, a C compiler, \
linker, librarian and several other tools.
homepage https://cc65.github.io
github.tarball_from archive
checksums rmd160 a1476c2854f66f210b79861f249cc80ce4860280 \
sha256 157b8051aed7f534e5093471e734e7a95e509c577324099c3c81324ed9d0de77 \
size 2284735
patchfiles patch-doc-Makefile.diff \
patch-libsrc-Makefile.diff \
patch-src-common-version.c.diff \
patch-src-Makefile.diff
build.env "BUILD_ID=N/A" \
"USER_CFLAGS=${configure.optflags}"
build.target bin lib
use_parallel_build no
variant docs description {Install extra documentation} {
depends_build-append port:linuxdoc-tools path:bin/perl:perl5
build.target-append doc
}