aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/Makefile1
-rw-r--r--lang/fasm/Makefile32
-rw-r--r--lang/fasm/distinfo3
-rw-r--r--lang/fasm/pkg-descr10
-rw-r--r--lang/fasm/pkg-plist6
5 files changed, 52 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 94be1cd829be..a5dce8f5114b 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -54,6 +54,7 @@
SUBDIR += f2c
SUBDIR += f2py
SUBDIR += f77
+ SUBDIR += fasm
SUBDIR += fbbi
SUBDIR += ferite
SUBDIR += fesi
diff --git a/lang/fasm/Makefile b/lang/fasm/Makefile
new file mode 100644
index 000000000000..523458e0b8cb
--- /dev/null
+++ b/lang/fasm/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: fasm
+# Date created: 22 February 2007
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= fasm
+PORTVERSION= 1.67.21
+CATEGORIES= lang devel
+MASTER_SITES= http://flatassembler.net/
+DISTNAME= ${PORTNAME}-1.67
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= Flat, multiple-pass assembler for IA-32 & x86-64 architectures
+
+ONLY_FOR_ARCHS= i386 amd64
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+do-build:
+ cd ${WRKSRC} && ${CC} ${CFLAGS} fasm.o -o fasm
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/fasm ${PREFIX}/bin
+.ifndef(NOPORTDOCS)
+ @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/lang/fasm/distinfo b/lang/fasm/distinfo
new file mode 100644
index 000000000000..21297b0d4840
--- /dev/null
+++ b/lang/fasm/distinfo
@@ -0,0 +1,3 @@
+MD5 (fasm-1.67.tar.gz) = 95a11669c1d28e9de5b2aa2c45a216e0
+SHA256 (fasm-1.67.tar.gz) = 9581aad3e1aa733a0a0d4b7ecead51a1d1d73b8a1d63291a7b40f7d4e96ce5a8
+SIZE (fasm-1.67.tar.gz) = 186423
diff --git a/lang/fasm/pkg-descr b/lang/fasm/pkg-descr
new file mode 100644
index 000000000000..02db39548b9a
--- /dev/null
+++ b/lang/fasm/pkg-descr
@@ -0,0 +1,10 @@
+The flat assembler is a fast and efficient self-assembling 80x86
+assembler for DOS, Windows and Linux operating systems. Currently it
+supports all 8086-80486/Pentium instructions with MMX, SSE, SSE2, SSE3
+and 3DNow! extensions and x86-64 (both AMD64 and EM64T) instructions,
+can produce output in binary, MZ, PE, COFF or ELF format. It includes
+the powerful but easy to use macroinstruction support and does multiple
+passes to optimize the instruction codes for size. The flat assembler
+is self-compilable and the full source code is included.
+
+WWW: http://flatassembler.net/
diff --git a/lang/fasm/pkg-plist b/lang/fasm/pkg-plist
new file mode 100644
index 000000000000..16e6933dce87
--- /dev/null
+++ b/lang/fasm/pkg-plist
@@ -0,0 +1,6 @@
+bin/fasm
+%%PORTDOCS%%%%DOCSDIR%%/fasm.txt
+%%PORTDOCS%%%%DOCSDIR%%/license.txt
+%%PORTDOCS%%%%DOCSDIR%%/readme.txt
+%%PORTDOCS%%%%DOCSDIR%%/whatsnew.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%