aboutsummaryrefslogtreecommitdiffstats
path: root/devel/jwasm
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2012-08-03 10:06:44 +0800
committerwxs <wxs@FreeBSD.org>2012-08-03 10:06:44 +0800
commit3ccf22c9eb475f502d22b072f91a5b7a5098984c (patch)
treeb738d57b0fc11f02cb8d6ca07dc6c2a69f9d618f /devel/jwasm
parentb73363f6b3247661256b904896a2025f919546f9 (diff)
downloadfreebsd-ports-gnome-3ccf22c9eb475f502d22b072f91a5b7a5098984c.tar.gz
freebsd-ports-gnome-3ccf22c9eb475f502d22b072f91a5b7a5098984c.tar.zst
freebsd-ports-gnome-3ccf22c9eb475f502d22b072f91a5b7a5098984c.zip
Update to 207a
PR: ports/170262 Submitted by: Pedro Giffuni <giffunip@tutopia.com>
Diffstat (limited to 'devel/jwasm')
-rw-r--r--devel/jwasm/Makefile6
-rw-r--r--devel/jwasm/distinfo4
-rw-r--r--devel/jwasm/files/patch-H__memalloc.h20
-rw-r--r--devel/jwasm/pkg-descr2
-rw-r--r--devel/jwasm/pkg-plist6
5 files changed, 32 insertions, 6 deletions
diff --git a/devel/jwasm/Makefile b/devel/jwasm/Makefile
index 70fc7225a5ba..47ebe1bf821c 100644
--- a/devel/jwasm/Makefile
+++ b/devel/jwasm/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= jwasm
-PORTVERSION= 206
+PORTVERSION= 207a
CATEGORIES= devel
MASTER_SITES= http://www.japheth.de/Download/JWasm/
DISTNAME= JWasm${PORTVERSION}s
@@ -27,7 +27,9 @@ do-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${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
.endif
.include <bsd.port.mk>
diff --git a/devel/jwasm/distinfo b/devel/jwasm/distinfo
index 93848260ecd5..1fb9768c3b7b 100644
--- a/devel/jwasm/distinfo
+++ b/devel/jwasm/distinfo
@@ -1,2 +1,2 @@
-SHA256 (JWasm206s.zip) = bf3c03a546396dc25cf33fab4c31a7197be6651b75f4c6679727c391db7374c7
-SIZE (JWasm206s.zip) = 763604
+SHA256 (JWasm207as.zip) = 78c6f76ab729d9ecccf0a7fcf335457d6f76b613172a85c8d44b56ef79d328cc
+SIZE (JWasm207as.zip) = 804843
diff --git a/devel/jwasm/files/patch-H__memalloc.h b/devel/jwasm/files/patch-H__memalloc.h
new file mode 100644
index 000000000000..09e47ae72608
--- /dev/null
+++ b/devel/jwasm/files/patch-H__memalloc.h
@@ -0,0 +1,20 @@
+--- H/memalloc.h.orig 2012-07-29 14:44:42.000000000 -0500
++++ H/memalloc.h 2012-07-29 14:51:44.000000000 -0500
+@@ -40,14 +40,15 @@
+ #if defined(__WATCOMC__) || defined(__BORLANDC__) || defined(__OCC__)
+ #define myalloca alloca
+ #include <malloc.h>
+-#elif defined(__GNUC__) || defined(__TINYC__)
++#elif (defined(__GNUC__) || defined(__TINYC__)) && !defined(__FreeBSD__)
+ #define myalloca alloca
+ #include <malloc.h> /* added v2.07 */
+ #elif defined(__PCC__)
+ #define myalloca _alloca
+ #include <malloc.h>
+ #else
+-#define myalloca _alloca
++#define myalloca alloca
++#include <stdlib.h>
+ #endif
+
+ /* AsmAlloc() and AsmFree() are fast variants, which
diff --git a/devel/jwasm/pkg-descr b/devel/jwasm/pkg-descr
index d62a5d47dbf8..6f9e45dcf95e 100644
--- a/devel/jwasm/pkg-descr
+++ b/devel/jwasm/pkg-descr
@@ -9,7 +9,7 @@ JWasm Features:
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.
+- Instructions up to AVX 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
diff --git a/devel/jwasm/pkg-plist b/devel/jwasm/pkg-plist
index 7c82c88fc249..95d63384b1f9 100644
--- a/devel/jwasm/pkg-plist
+++ b/devel/jwasm/pkg-plist
@@ -2,6 +2,10 @@
bin/jwasm
%%PORTDOCS%%%%DOCSDIR%%/History.txt.gz
%%PORTDOCS%%%%DOCSDIR%%/License.txt.gz
-%%PORTDOCS%%%%DOCSDIR%%/Manual.txt.gz
%%PORTDOCS%%%%DOCSDIR%%/Readme.txt.gz
+%%PORTDOCS%%%%DOCSDIR%%/manual/enh.txt.gz
+%%PORTDOCS%%%%DOCSDIR%%/manual/fixes.txt.gz
+%%PORTDOCS%%%%DOCSDIR%%/manual/gencode.txt.gz
+%%PORTDOCS%%%%DOCSDIR%%/manual/overview.txt.gz
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/manual
%%PORTDOCS%%@dirrm %%DOCSDIR%%