Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2012 23:52:50 +0000 (UTC)
From:      Armin Pirkovitsch <sperber@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308048 - in head/devel/jwasm: . files
Message-ID:  <201211302352.qAUNqohc080420@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sperber
Date: Fri Nov 30 23:52:49 2012
New Revision: 308048
URL: http://svnweb.freebsd.org/changeset/ports/308048

Log:
  - Update to version 208
  - Update pkg-descr
  - Trim Makefile header
  
  PR:           ports/171986
  Submitted by: KATO Tsuguru <tkato432 _at_ yahoo.com>
  Approved by:  beat (mentor)
  Feature safe: yes

Deleted:
  head/devel/jwasm/files/
  head/devel/jwasm/pkg-plist
Modified:
  head/devel/jwasm/Makefile
  head/devel/jwasm/distinfo
  head/devel/jwasm/pkg-descr

Modified: head/devel/jwasm/Makefile
==============================================================================
--- head/devel/jwasm/Makefile	Fri Nov 30 23:52:43 2012	(r308047)
+++ head/devel/jwasm/Makefile	Fri Nov 30 23:52:49 2012	(r308048)
@@ -1,12 +1,8 @@
-# New ports collection makefile for:	jwasm
-# Date created:        7 April 2009
-# Whom:                Pedro F. Giffuni
-#
+# Created by: Pedro F. Giffuni
 # $FreeBSD$
-#
 
 PORTNAME=	jwasm
-PORTVERSION=	207a
+PORTVERSION=	208
 CATEGORIES=	devel
 MASTER_SITES=	http://www.japheth.de/Download/JWasm/
 DISTNAME=	JWasm${PORTVERSION}s
@@ -14,22 +10,40 @@ DISTNAME=	JWasm${PORTVERSION}s
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Fork of OpenWatcom's x86 assembler with AMD64 support
 
+OPTIONS_DEFINE=	DOCS
+
 ONLY_FOR_ARCHS=	amd64 i386
 
+NO_WRKSUBDIR=	yes
+
 USE_ZIP=	yes
+USE_DOS2UNIX=	yes
 USE_GMAKE=	yes
 MAKEFILE=	GccUnix.mak
-NO_WRKSUBDIR=	yes
-EXTRACT_BEFORE_ARGS=	-qa
+MAKE_JOBS_SAFE=	yes
+
+PORTDOCS=	*
+PLIST_FILES=	bin/jwasm
+
+.include <bsd.port.options.mk>
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		'/^extra_c_flags/s|-O2|$$(CFLAGS)| ; \
+		 /^CC/s| =| ?=| ; \
+		 s|-s -o|-o|' ${WRKSRC}/GccUnix.mak
+	@${REINPLACE_CMD} -e \
+		'/v2.07/s|<malloc.h>|<stdlib.h>|' ${WRKSRC}/H/memalloc.h
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/GccUnixR/jwasm ${PREFIX}/bin/
-.if !defined(NOPORTDOCS)
+	${INSTALL_PROGRAM} ${WRKSRC}/GccUnixR/jwasm ${PREFIX}/bin
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
+	@${GZIP_CMD} ${DOCSDIR}/*.txt
 	@${MKDIR} ${DOCSDIR}/manual
-	@${INSTALL_DATA} ${WRKSRC}/Doc/*.txt ${DOCSDIR}/manual
-	@${GZIP_CMD} ${DOCSDIR}/*.txt ${DOCSDIR}/manual/*.txt
+	${INSTALL_DATA} ${WRKSRC}/Doc/*.txt ${DOCSDIR}/manual
+	@${GZIP_CMD} ${DOCSDIR}/manual/*.txt
 .endif
 
 .include <bsd.port.mk>

Modified: head/devel/jwasm/distinfo
==============================================================================
--- head/devel/jwasm/distinfo	Fri Nov 30 23:52:43 2012	(r308047)
+++ head/devel/jwasm/distinfo	Fri Nov 30 23:52:49 2012	(r308048)
@@ -1,2 +1,2 @@
-SHA256 (JWasm207as.zip) = 78c6f76ab729d9ecccf0a7fcf335457d6f76b613172a85c8d44b56ef79d328cc
-SIZE (JWasm207as.zip) = 804843
+SHA256 (JWasm208s.zip) = 7d0159c80b16c4c7c4b6391cb913b525039614ae9b82f3cd6756177d79b4fe58
+SIZE (JWasm208s.zip) = 822030

Modified: head/devel/jwasm/pkg-descr
==============================================================================
--- head/devel/jwasm/pkg-descr	Fri Nov 30 23:52:43 2012	(r308047)
+++ head/devel/jwasm/pkg-descr	Fri Nov 30 23:52:49 2012	(r308048)
@@ -6,14 +6,14 @@ 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.
+  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 AVX are supported.
+  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.
+  Watcom, MS VC, GCC and more.
 - As far as programming for Windows is concerned, JWasm can be used with 
-both Win32Inc and Masm32.
+  both Win32Inc and Masm32.
 - C header files can be converted to include files for JWasm with h2incX.
 
 WWW: http://www.japheth.de/JWasm.html



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