aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2025-12-09 07:39:50 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2025-12-10 05:03:05 +0000
commite54fdf5bdcb3f8c24a2c73ce37f34ba8c377c92b (patch)
tree82e34057b95fb0d315b0565c5f4f0fe528a1eafa
parentf1858e6f718c2dac2722b97cd4dbcb5f88fa35fc (diff)
devel/linux-rl9-nasm: New port: Portable x86 assembler which uses Intel-like syntax
-rw-r--r--devel/Makefile1
-rw-r--r--devel/linux-rl9-nasm/Makefile24
-rw-r--r--devel/linux-rl9-nasm/distinfo3
-rw-r--r--devel/linux-rl9-nasm/pkg-descr5
-rw-r--r--devel/linux-rl9-nasm/pkg-plist.amd648
5 files changed, 41 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index db735ffb7435..c165c9779084 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1556,6 +1556,7 @@
SUBDIR += linux-rl9-lld
SUBDIR += linux-rl9-lldb
SUBDIR += linux-rl9-llvm
+ SUBDIR += linux-rl9-nasm
SUBDIR += linux-rl9-npth
SUBDIR += linux-rl9-nspr
SUBDIR += linux-rl9-ocl-icd
diff --git a/devel/linux-rl9-nasm/Makefile b/devel/linux-rl9-nasm/Makefile
new file mode 100644
index 000000000000..f9807552f89d
--- /dev/null
+++ b/devel/linux-rl9-nasm/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= nasm
+PORTVERSION= 2.15.03
+DISTVERSIONSUFFIX= -7.el9
+CATEGORIES= devel
+MASTER_SITES= https://mirrors.vcea.wsu.edu/rocky/9/devel/x86_64/os/Packages/:amd64
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Portable x86 assembler which uses Intel-like syntax
+WWW= https://www.nasm.us/
+
+LICENSE= BSD3CLAUSE
+
+ONLY_FOR_ARCHS= amd64
+
+USES= linux:rl9
+USE_LINUX_RPM= nolib
+
+SRC_DISTFILES=
+
+DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}${PKGNAMESUFFIX}
+
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.mk>
diff --git a/devel/linux-rl9-nasm/distinfo b/devel/linux-rl9-nasm/distinfo
new file mode 100644
index 000000000000..e45a92fbb575
--- /dev/null
+++ b/devel/linux-rl9-nasm/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1765265471
+SHA256 (rocky/n/nasm-2.15.03-7.el9.x86_64.rpm) = 91a07325837ba1bd556ceb0ce07ae85ae99caf7f30ce8bee1a6bff1ecad6920b
+SIZE (rocky/n/nasm-2.15.03-7.el9.x86_64.rpm) = 444673
diff --git a/devel/linux-rl9-nasm/pkg-descr b/devel/linux-rl9-nasm/pkg-descr
new file mode 100644
index 000000000000..bd73937b92b9
--- /dev/null
+++ b/devel/linux-rl9-nasm/pkg-descr
@@ -0,0 +1,5 @@
+The Netwide Assembler, NASM, is a free and open-source x86 assembler
+for the Intel x86 architecture. It can be used to write 16-bit,
+32-bit (IA-32) and 64-bit (x86-64) programs.
+
+This port provides the Red Hat Linux 9 (linux-rl9) version of NASM.
diff --git a/devel/linux-rl9-nasm/pkg-plist.amd64 b/devel/linux-rl9-nasm/pkg-plist.amd64
new file mode 100644
index 000000000000..776950561604
--- /dev/null
+++ b/devel/linux-rl9-nasm/pkg-plist.amd64
@@ -0,0 +1,8 @@
+usr/bin/nasm
+usr/bin/ndisasm
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/README.md
+usr/share/licenses/nasm/LICENSE
+usr/share/man/man1/nasm.1.gz
+usr/share/man/man1/ndisasm.1.gz