Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 2010 23:34:51 GMT
From:      "Pedro F. Giffuni" <giffunip@tutopia.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/152727: new port devel/jwasm
Message-ID:  <201011302334.oAUNYpsm098667@red.freebsd.org>
Resent-Message-ID: <201011302340.oAUNeCKo068237@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         152727
>Category:       ports
>Synopsis:       new port devel/jwasm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 30 23:40:11 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Pedro F. Giffuni
>Release:        8.1-RELEASE
>Organization:
>Environment:
>Description:
JWasm is an implementation of MASMv6 based on openwatcom's assembler. It supports i386 and amd64 platforms.


>How-To-Repeat:
FWIW, I think it is a must-have port but I have little interest in maintaining it since I don't do much assembler. If someone else is interested in maintaining it, feel free to take over.
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	./jwasm
#	./jwasm/files
#	./jwasm/files/patch-GccUnix.mak
#	./jwasm/Makefile
#	./jwasm/distinfo
#	./jwasm/pkg-descr
#	./jwasm/pkg-plist
#
echo c - ./jwasm
mkdir -p ./jwasm > /dev/null 2>&1
echo c - ./jwasm/files
mkdir -p ./jwasm/files > /dev/null 2>&1
echo x - ./jwasm/files/patch-GccUnix.mak
sed 's/^X//' >./jwasm/files/patch-GccUnix.mak << '06291265a423ec8d58db1735bee9d6a6'
X--- GccUnix.mak.orig	2009-06-07 14:07:37.000000000 -0500
X+++ GccUnix.mak	2009-06-07 14:09:18.000000000 -0500
X@@ -14,7 +14,7 @@
X #cflags stuff
X 
X ifeq ($(DEBUG),0)
X-extra_c_flags = -DNDEBUG -O2
X+extra_c_flags = -DNDEBUG ${CFLAGS}
X OUTD=GccUnixR
X else
X extra_c_flags = -DDEBUG_OUT -g
X@@ -23,7 +23,7 @@
X 
X c_flags =-D__UNIX__ $(extra_c_flags)
X 
X-CC = gcc
X+#CC = cc
X 
X .SUFFIXES:
X .SUFFIXES: .c .o
06291265a423ec8d58db1735bee9d6a6
echo x - ./jwasm/Makefile
sed 's/^X//' >./jwasm/Makefile << '9733d9ecaa38163701c2780ed4263866'
X# New ports collection makefile for:	jwasm
X# Date created:        7 April 2009
X# Whom:                Pedro F. Giffuni
X#
X# $FreeBSD
X#
X
XPORTNAME=	jwasm
XPORTVERSION=	204
XCATEGORIES=	devel
XMASTER_SITES=	http://www.japheth.de/Download/JWasm/
XDISTNAME=	JWasm${PORTVERSION}cs
XEXTRACT_SUFX=	.zip
X
XMAINTAINER=	giffunip@tutopia.com
XCOMMENT=	Fork of OpenWatcom's x86 assembler with AMD64 support
X
XONLY_FOR_ARCHS= amd64 i386
X
XUSE_ZIP=	yes
XUSE_GMAKE=	yes
XMAKEFILE=	GccUnix.mak
XNO_WRKSUBDIR=	yes
XEXTRACT_BEFORE_ARGS=	-qa
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/GccUnixR/jwasm ${PREFIX}/bin/
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	@${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
X	@${GZIP_CMD} ${DOCSDIR}/*.txt
X.endif	
X
X.include <bsd.port.mk>
9733d9ecaa38163701c2780ed4263866
echo x - ./jwasm/distinfo
sed 's/^X//' >./jwasm/distinfo << '36d56efc074e74c67f5f88d523222f55'
XSHA256 (JWasm204cs.zip) = a45de9c536adb670751ef6d089a6fd94baab0b28dfc076250fe0e5ecd0339017
XSIZE (JWasm204cs.zip) = 642684
36d56efc074e74c67f5f88d523222f55
echo x - ./jwasm/pkg-descr
sed 's/^X//' >./jwasm/pkg-descr << 'aa8ea57bd1902a624c8f6504c13ae177'
XJWasm is a MASM v6 compatible assembler. It's a fork of Open Watcom's WASM 
Xand released under the Sybase Open Watcom Public License, which allows 
Xfree commercial and non-commercial use. JWasm is written in C, source code 
Xis open.
X
XJWasm Features:
X
X- JWasm natively supports output formats Intel OMF, MS Coff (32- and 
X64-bit), Elf (32-and 64-bit), Bin and DOS MZ.
X- precompiled JWasm binaries are available for DOS, Windows and Linux. For 
XOS/2 and FreeBSD, makefiles are supplied.
X- Instructions up to SSSE3 are supported.
X- The JWasm source is portable and has successfully been tested with Open 
XWatcom, MS VC, GCC and more.
X- As far as programming for Windows is concerned, JWasm can be used with 
Xboth Win32Inc and Masm32.
X- C header files can be converted to include files for JWasm with h2incX.
X
XWWW: http://www.japheth.de/JWasm.html
aa8ea57bd1902a624c8f6504c13ae177
echo x - ./jwasm/pkg-plist
sed 's/^X//' >./jwasm/pkg-plist << '9be1b84777ce089b92e40a69ef52457e'
Xbin/jwasm
X%%PORTDOCS%%%%DOCSDIR%%/History.txt.gz
X%%PORTDOCS%%%%DOCSDIR%%/License.txt.gz
X%%PORTDOCS%%%%DOCSDIR%%/Manual.txt.gz
X%%PORTDOCS%%%%DOCSDIR%%/Readme.txt.gz
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
9be1b84777ce089b92e40a69ef52457e
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011302334.oAUNYpsm098667>