# -*- 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 cmake 1.1 PortGroup github 1.0 # Verify the correct util commit for each asmotor version update. github.setup asmotor asmotor 1.0.4 set util_commit abccd359a697501f44b82d1e60c5daa5306cb057 revision 0 categories devel platforms darwin maintainers {gmail.com:csoren @csoren} license GPL-3 description A cross assembler, linker and librarian for several CPUs. long_description ASMotor is a portable and generic assembler engine and \ development system written in ANSI C. The package \ consists of the assembler, the librarian and the linker. \ It can be used as either a cross or native development \ system. The assembler syntax is based on the A68k style \ macro language. Currently supported CPUs are the 680x0 \ family, 6502, MIPS32, SChip/Chip-8, DCPU-16, Z80 and \ Gameboy. github.tarball_from archive master_sites ${master_sites}:main \ https://github.com/asmotor/asmotor-util/archive/${util_commit}:util set main_distfile ${distfiles} set util_distname asmotor-util-${util_commit} set util_distfile ${util_distname}${extract.suffix} distfiles ${main_distfile}:main \ ${util_distfile}:util checksums ${main_distfile} \ rmd160 c96850f73e162ea331ea14789f71efadf6f6bd74 \ sha256 ba4d5e6500aea8c1588c2da01916ccb39a26c84b67e17f44bd32a5bb20f58468 \ size 179288 \ ${util_distfile} \ rmd160 a94d2e5014b865e0b5ce63eb6c71ebb057def511 \ sha256 5ba07a3c94c85372894ce8a9a7c92f4a14df79a868c5a47eda7fa23fddf073f0 \ size 13280 post-extract { delete ${worksrcpath}/util move ${workpath}/${util_distname} ${worksrcpath}/util } cmake.build_type release configure.args -DASMOTOR_VERSION=${version}