JWasm is a MASM v6 compatible assembler. It's a fork of Open Watcom's WASM

and released under the Sybase Open Watcom Public License, which allows
free commercial and non-commercial use. JWasm is written in C, source code
is open.

JWasm Features:

- JWasm natively supports output formats Intel OMF, MS Coff (32- and
64-bit), Elf (32-and 64-bit), Bin and DOS MZ.
- precompiled JWasm binaries are available for DOS, Windows and Linux. For
OS/2 and FreeBSD, makefiles are supplied.
- Instructions up to SSSE3 are supported.
- The JWasm source is portable and has successfully been tested with Open
Watcom, MS VC, GCC and more.
- As far as programming for Windows is concerned, JWasm can be used with
both Win32Inc and Masm32.
- C header files can be converted to include files for JWasm with h2incX.

WWW: http://www.japheth.de/JWasm.html

PR:		ports/152727
Submitted by:	Pedro F. Giffuni <giffunip at tutopia.com>
This commit is contained in:
Nicola Vitale 2010-12-17 14:07:17 +00:00
parent 69e2c7fae3
commit 20b71b18fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=266497
6 changed files with 82 additions and 0 deletions

View file

@ -685,6 +685,7 @@
SUBDIR += jtag SUBDIR += jtag
SUBDIR += jude-community SUBDIR += jude-community
SUBDIR += judy SUBDIR += judy
SUBDIR += jwasm
SUBDIR += jzmq SUBDIR += jzmq
SUBDIR += k8048 SUBDIR += k8048
SUBDIR += kBuild SUBDIR += kBuild

33
devel/jwasm/Makefile Normal file
View file

@ -0,0 +1,33 @@
# New ports collection makefile for: jwasm
# Date created: 7 April 2009
# Whom: Pedro F. Giffuni <giffunip@tutopia.com>
#
# $FreeBSD$
#
PORTNAME= jwasm
PORTVERSION= 204
CATEGORIES= devel
MASTER_SITES= http://www.japheth.de/Download/JWasm/
DISTNAME= JWasm${PORTVERSION}cs
MAINTAINER= giffunip@tutopia.com
COMMENT= Fork of OpenWatcom's x86 assembler with AMD64 support
ONLY_FOR_ARCHS= amd64 i386
USE_ZIP= yes
USE_GMAKE= yes
MAKEFILE= GccUnix.mak
NO_WRKSUBDIR= yes
EXTRACT_BEFORE_ARGS= -qa
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/GccUnixR/jwasm ${PREFIX}/bin/
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
@${GZIP_CMD} ${DOCSDIR}/*.txt
.endif
.include <bsd.port.mk>

2
devel/jwasm/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (JWasm204cs.zip) = a45de9c536adb670751ef6d089a6fd94baab0b28dfc076250fe0e5ecd0339017
SIZE (JWasm204cs.zip) = 642684

View file

@ -0,0 +1,20 @@
--- GccUnix.mak.orig 2009-06-07 14:07:37.000000000 -0500
+++ GccUnix.mak 2009-06-07 14:09:18.000000000 -0500
@@ -14,7 +14,7 @@
#cflags stuff
ifeq ($(DEBUG),0)
-extra_c_flags = -DNDEBUG -O2
+extra_c_flags = -DNDEBUG ${CFLAGS}
OUTD=GccUnixR
else
extra_c_flags = -DDEBUG_OUT -g
@@ -23,7 +23,7 @@
c_flags =-D__UNIX__ $(extra_c_flags)
-CC = gcc
+#CC = cc
.SUFFIXES:
.SUFFIXES: .c .o

19
devel/jwasm/pkg-descr Normal file
View file

@ -0,0 +1,19 @@
JWasm is a MASM v6 compatible assembler. It's a fork of Open Watcom's WASM
and released under the Sybase Open Watcom Public License, which allows
free commercial and non-commercial use. JWasm is written in C, source code
is open.
JWasm Features:
- JWasm natively supports output formats Intel OMF, MS Coff (32- and
64-bit), Elf (32-and 64-bit), Bin and DOS MZ.
- precompiled JWasm binaries are available for DOS, Windows and Linux. For
OS/2 and FreeBSD, makefiles are supplied.
- Instructions up to SSSE3 are supported.
- The JWasm source is portable and has successfully been tested with Open
Watcom, MS VC, GCC and more.
- As far as programming for Windows is concerned, JWasm can be used with
both Win32Inc and Masm32.
- C header files can be converted to include files for JWasm with h2incX.
WWW: http://www.japheth.de/JWasm.html

7
devel/jwasm/pkg-plist Normal file
View file

@ -0,0 +1,7 @@
@comment $FreeBSD$
bin/jwasm
%%PORTDOCS%%%%DOCSDIR%%/History.txt.gz
%%PORTDOCS%%%%DOCSDIR%%/License.txt.gz
%%PORTDOCS%%%%DOCSDIR%%/Manual.txt.gz
%%PORTDOCS%%%%DOCSDIR%%/Readme.txt.gz
%%PORTDOCS%%@dirrm %%DOCSDIR%%