-
Notifications
You must be signed in to change notification settings - Fork 7
/
nasm
163 lines (135 loc) · 3.63 KB
/
nasm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# Buildsheet autogenerated by ravenadm tool -- Do not edit.
NAMEBASE= nasm
VERSION= 2.16.03
REVISION= 1
KEYWORDS= devel lang
VARIANTS= std
SDESC[std]= General-purpose x86 and amd64 assembler
HOMEPAGE= https://www.nasm.us/
CONTACT= nobody
DOWNLOAD_GROUPS= main
SITES[main]= https://www.nasm.us/pub/nasm/releasebuilds/2.16.03/
https://mirror.sobukus.de/files/src/nasm/
DISTFILE[1]= nasm-2.16.03.tar.xz:main
DISTFILE[2]= nasm-2.16.03-xdoc.tar.xz:main
DF_INDEX= 1 2
SPKGS[std]= set
primary
man
docs
OPTIONS_AVAILABLE= none
OPTIONS_STANDARD= none
BUILD_DEPENDS= perl-Font-TTF:single:perl_used
perl-IO-String:single:perl_used
USES= cpe gmake perl:build
LICENSE= BSD2CLAUSE:primary
LICENSE_FILE= BSD2CLAUSE:{{WRKSRC}}/LICENSE
LICENSE_SCHEME= solo
CPE_PRODUCT= netwide_assembler
CPE_VENDOR= nasm
FPC_EQUIVALENT= devel/nasm
MUST_CONFIGURE= gnu
CONFIGURE_ARGS= --docdir="{{STD_DOCDIR}}"
MAKE_ARGS= INSTALLROOT={{STAGEDIR}}
INSTALL_TARGET= install install_doc
post-patch:
# fix gmake on macos
${REINPLACE_CMD} -e 's|[$$][(]A[)]|a|g' ${WRKSRC}/Makefile.in
post-install:
${MKDIR} ${STAGEDIR}${STD_DOCDIR}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${STD_DOCDIR})
${INSTALL_DATA} ${WRKSRC}/doc/nasmdoc.txt ${STAGEDIR}${STD_DOCDIR}
[FILE:691:descriptions/desc.primary]
The Netwide Assembler (NASM) is an x86 and amd64 (x86-64) assembler
designed for portability and modularity. It will output flat-form binary
files, a.out (Linux and *BSD), COFF, ELF32, ELF64, Mach-O, Microsoft OMF
(OBJ), Win32, Win64, as86 (Minix/Linux bin86 v0.3), LADsoft IEEE-695,
Intel hex, Motorola S-record, and a home-grown format called RDOFF. NASM
syntax is similar to Intel's, but is less complex. It supports Pentium,
P6, MMX, 3DNow!, SSE, SSE2, SSE3, SSE4.1, SSE4.2, XOP/FMA4/CVT16
(rev 3.03), and x64 opcodes, among others. It has strong support for
macro conventions.
The port also includes NDISASM, a binary file disassembler which uses the
same instruction set as NASM.
[FILE:201:distinfo]
1412a1c760bbd05db026b6c0d1657affd6631cd0a63cddb6f73cc6d4aa616148 1032388 nasm-2.16.03.tar.xz
8a0f379e2729cdcf6541f7b7735fce662062eebd49f5b5be3f68b8c3f7e868df 873780 nasm-2.16.03-xdoc.tar.xz
[FILE:20:manifests/plist.primary]
bin/
nasm
ndisasm
[FILE:35:manifests/plist.man]
share/man/man1/
nasm.1
ndisasm.1
[FILE:769:manifests/plist.docs]
share/doc/nasm/
local.css
nasmdo10.html
nasmdo11.html
nasmdo12.html
nasmdo13.html
nasmdoc.css
nasmdoc.pdf
nasmdoc.txt
nasmdoc0.html
nasmdoc1.html
nasmdoc2.html
nasmdoc3.html
nasmdoc4.html
nasmdoc5.html
nasmdoc6.html
nasmdoc7.html
nasmdoc8.html
nasmdoc9.html
nasmdoca.html
nasmdocb.html
nasmdocc.html
nasmdocd.html
nasmdoce.html
nasmdocf.html
nasmdoci.html
nasmlogw.png
share/doc/nasm/html/
local.css
nasmdo10.html
nasmdo11.html
nasmdo12.html
nasmdo13.html
nasmdoc.css
nasmdoc0.html
nasmdoc1.html
nasmdoc2.html
nasmdoc3.html
nasmdoc4.html
nasmdoc5.html
nasmdoc6.html
nasmdoc7.html
nasmdoc8.html
nasmdoc9.html
nasmdoca.html
nasmdocb.html
nasmdocc.html
nasmdocd.html
nasmdoce.html
nasmdocf.html
nasmdoci.html
nasmlogw.png
[FILE:506:patches/patch-doc_Makefile.in]
--- doc/Makefile.in.orig 2024-04-04 20:35:25 UTC
+++ doc/Makefile.in
@@ -28,7 +28,7 @@ MKDIR_P = @MKDIR_P@
RM_F = rm -f
RM_RF = rm -rf
CP_F = cp -f
-CP_UF = cp -uf
+CP_UF = cp -f
# Optional tools
XZ = @XZ@
@@ -40,7 +40,7 @@ XZFILES = @XZFILES@
HTMLAUX = nasmdoc.css local.css nasmlogw.png
SRCS = nasmdoc.src inslist.src changes.src warnings.src version.src
-OUT = html nasmdoc.txt nasmdoc.pdf $(XZFILES)
+OUT = html nasmdoc.txt
XZOUT = nasmdoc.pdf.xz
.SUFFIXES: