aboutsummaryrefslogtreecommitdiffstats
path: root/converters/ta2as
diff options
context:
space:
mode:
authorsylvio <sylvio@FreeBSD.org>2012-06-06 04:43:06 +0800
committersylvio <sylvio@FreeBSD.org>2012-06-06 04:43:06 +0800
commit05503ac24b49dc836bac64ce212b35050df0e142 (patch)
tree3d27c53be7e095b73527107b1204451da5786f89 /converters/ta2as
parentbfdf95d9303f5d3ae4a0aca923daeb4b13b72798 (diff)
downloadfreebsd-ports-gnome-05503ac24b49dc836bac64ce212b35050df0e142.tar.gz
freebsd-ports-gnome-05503ac24b49dc836bac64ce212b35050df0e142.tar.zst
freebsd-ports-gnome-05503ac24b49dc836bac64ce212b35050df0e142.zip
- Update to version 0.8.2
Remove file: files/patch-ta2as.c PR: ports/168593 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'converters/ta2as')
-rw-r--r--converters/ta2as/Makefile37
-rw-r--r--converters/ta2as/distinfo4
-rw-r--r--converters/ta2as/files/patch-ta2as.c10
-rw-r--r--converters/ta2as/pkg-descr25
4 files changed, 31 insertions, 45 deletions
diff --git a/converters/ta2as/Makefile b/converters/ta2as/Makefile
index 37ea7545bca4..b759d7410612 100644
--- a/converters/ta2as/Makefile
+++ b/converters/ta2as/Makefile
@@ -6,48 +6,41 @@
#
PORTNAME= ta2as
-PORTVERSION= 0.8
+PORTVERSION= 0.8.2
CATEGORIES= converters devel
-MASTER_SITES= ftp://ftp.delorie.com/pub/djgpp/contrib/ \
- ftp://x2ftp.oulu.fi/pub/msdos/programming/convert/
-DISTNAME= ta2asv${PORTVERSION:S/.//}
+MASTER_SITES= GOOGLE_CODE
+DISTNAME= ${PORTNAME}_v${PORTVERSION:S/./_/g}_src
MAINTAINER= ports@FreeBSD.org
COMMENT= TASM to AT&T asm syntax converter (GNU AS)
-USE_ZIP= yes
+OPTIONS_DEFINE= DOCS
+
NO_WRKSUBDIR= yes
-EXTRACT_BEFORE_ARGS= -q -a -L
+USE_ZIP= yes
+PORTDOCS= *
PLIST_FILES= bin/${PORTNAME}
-.ifndef(NOPORTDOCS)
-PORTDOCS= readme.doc
-.endif
+.include <bsd.port.options.mk>
post-extract:
- @${CP} ${FILESDIR}/strtolower.c ${WRKSRC}
+ @${CP} -f ${FILESDIR}/strtolower.c ${WRKSRC}
post-patch:
- @${REINPLACE_CMD} -E \
- -e 's|stricmp|strcasecmp|' \
- -e 's|strnicmp|strncasecmp|' \
- -e 's|strlwr|strtolower|' \
- ${WRKSRC}/${PORTNAME}.c
+ @${REINPLACE_CMD} -e \
+ 's|strlwr|strtolower|' ${WRKSRC}/${PORTNAME}.c
do-build:
- @cd ${WRKSRC} && \
- ${CC} ${CFLAGS} \
- -s meen.c strtolower.c ta2as.c \
+ cd ${WRKSRC} && ${CC} ${CFLAGS} main.c strtolower.c ${PORTNAME}.c \
-o ${PORTNAME}
do-install:
-.ifndef(NOPORTDOCS)
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/readme.doc ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
.endif
- @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
- ${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/converters/ta2as/distinfo b/converters/ta2as/distinfo
index f2a7fa398058..3e525e3253e2 100644
--- a/converters/ta2as/distinfo
+++ b/converters/ta2as/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ta2asv08.zip) = fa2362b464ced0ace0bc6eeee17e822fd009e5896d791982fc16308b5266543f
-SIZE (ta2asv08.zip) = 27208
+SHA256 (ta2as_v0_8_2_src.zip) = 21ecef8ac8d99665b7cf15c6f692214b738e11d77058139133566dd40f92472b
+SIZE (ta2as_v0_8_2_src.zip) = 11339
diff --git a/converters/ta2as/files/patch-ta2as.c b/converters/ta2as/files/patch-ta2as.c
deleted file mode 100644
index 0e59e4077742..000000000000
--- a/converters/ta2as/files/patch-ta2as.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- ta2as.c.orig Thu Dec 22 14:30:47 2005
-+++ ta2as.c Thu Dec 22 14:29:17 2005
-@@ -5,6 +5,7 @@
- #include "ta2as.h"
- #include <stdlib.h>
- #include <string.h>
-+#include <strings.h>
-
- char rarray[38][4]=
- {
diff --git a/converters/ta2as/pkg-descr b/converters/ta2as/pkg-descr
index 57a17e6474cc..eff83d63c4e1 100644
--- a/converters/ta2as/pkg-descr
+++ b/converters/ta2as/pkg-descr
@@ -1,14 +1,17 @@
-[ excerpt from distfile's README with modifications ]
+This simple tool reads a source file with TASM syntax and converts it
+to AT&T syntax.
-This is the first version of TASM to AT&T converter (TA2AS). Frank
-van Dijk, member of SPiRiT!, wrote this utility. It reads in a
-source file with TASM syntax and tries(first version remember? :))
-to convert it to AT&T syntax. It hasn't been tested very well. So
-email all your bugreports to one of the SPiRiT emailaddresses (see
-below). Also for wanted features! But the sourcefile is included
-so why don't you try first :)
+The AT&T syntax is widely used by GNU tools, in particular the GAS(AS)
+interpreter and GCC compiler.
-This is one of the utilities we wrote, to make life easier when
-working with DJGPP! :)
+The TASM syntax is used by many commercial compilers and disassemblers,
+ie. NASM, MASM, Visual Studio or IDA Pro.
-WWW: http://udrecsuite.sourceforge.net/
+Ta2As can automate most of the conversion, but it still isn't perfect
+- some correction have to be made manually before the code compiles.
+
+This tool was originally written by Frank van Dijk and released by
+SPiRiT group; this is continuation of his work, although not much of
+the original code remains.
+
+WWW: http://code.google.com/p/ta2as/