mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
53 lines
2.3 KiB
Tcl
53 lines
2.3 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 legacysupport 1.1
|
||
|
||
name nasm
|
||
version 3.01
|
||
revision 0
|
||
categories lang
|
||
license BSD
|
||
maintainers nomaintainer
|
||
|
||
description NASM, the Netwide Assembler, is an 80x86 and x86-64 assembler
|
||
|
||
long_description The Netwide Assembler, NASM, is an 80x86 and x86−64 \
|
||
assembler designed for portability and modularity. It \
|
||
supports a range of object file formats, including Linux \
|
||
and *BSD a.out, ELF, COFF, Mach−O, 16−bit and 32−bit OBJ \
|
||
(OMF) format, Win32 and Win64. It will also output plain \
|
||
binary files, Intel hex and Motorola S−Record formats. Its \
|
||
syntax is designed to be simple and easy to understand, \
|
||
similar to the syntax in the Intel Software Developer \
|
||
Manual with minimal complexity. It supports all currently \
|
||
known x86 architectural extensions, and has strong support \
|
||
for macros. NASM also comes with a set of utilities for \
|
||
handling the RDOFF custom object−file format.
|
||
|
||
installs_libs no
|
||
|
||
# for realpath
|
||
legacysupport.newest_darwin_requires_legacy 9
|
||
|
||
homepage https://www.nasm.us
|
||
master_sites ${homepage}/pub/nasm/releasebuilds/${version}
|
||
use_bzip2 yes
|
||
|
||
checksums rmd160 85ec02a69ed74bdcb0aab6646253c13062a5a49e \
|
||
sha256 7a7b1ff3b0eef3247862f2fbe4ca605ccef770545d7af7979eba84a9d045c0b1 \
|
||
size 1960877
|
||
|
||
# Has no dependencies and user-supplied CPPFLAGS are inserted into the build
|
||
# system in the incorrect place (before the project's own -I flags rather
|
||
# than after) so clear our unneeded flags because they would cause a build
|
||
# failure if certain other ports (such as libmd) are installed.
|
||
configure.cppflags-delete -I${prefix}/include
|
||
configure.ldflags-delete -L${prefix}/lib
|
||
|
||
destroot.destdir prefix=${destroot}${prefix}
|
||
|
||
livecheck.type regex
|
||
livecheck.url ${homepage}/doc/nasmdocc.html
|
||
livecheck.regex {Version ([0-9.]+)</h4>}
|