Files
2025-10-24 11:18:23 -04:00

53 lines
2.3 KiB
Tcl
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# -*- 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 x8664 \
assembler designed for portability and modularity. It \
supports a range of object file formats, including Linux \
and *BSD a.out, ELF, COFF, MachO, 16bit and 32bit OBJ \
(OMF) format, Win32 and Win64. It will also output plain \
binary files, Intel hex and Motorola SRecord 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 objectfile 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>}