diff options
author | naddy <naddy@FreeBSD.org> | 2002-03-02 19:37:53 +0000 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2002-03-02 19:37:53 +0000 |
commit | e48e162bbeb91afd5bd6a911293e3414b19fb670 (patch) | |
tree | f4e0a1269de071713d4eb0de0935a1f817a4633e /lang/intel2gas | |
parent | cc96e8140452657c1fe10bdd449292fac9849dd0 (diff) | |
download | FreeBSD-ports-e48e162bbeb91afd5bd6a911293e3414b19fb670.zip FreeBSD-ports-e48e162bbeb91afd5bd6a911293e3414b19fb670.tar.gz |
* Update to 1.3.3: miscellaneous fixes and improvements.
* General clean-up.
Diffstat (limited to 'lang/intel2gas')
-rw-r--r-- | lang/intel2gas/Makefile | 55 | ||||
-rw-r--r-- | lang/intel2gas/distinfo | 2 | ||||
-rw-r--r-- | lang/intel2gas/files/patch-aa | 39 | ||||
-rw-r--r-- | lang/intel2gas/files/patch-ab | 41 | ||||
-rw-r--r-- | lang/intel2gas/files/patch-ac | 78 | ||||
-rw-r--r-- | lang/intel2gas/files/patch-ad | 11 | ||||
-rw-r--r-- | lang/intel2gas/pkg-descr | 16 | ||||
-rw-r--r-- | lang/intel2gas/pkg-plist | 59 |
8 files changed, 68 insertions, 233 deletions
diff --git a/lang/intel2gas/Makefile b/lang/intel2gas/Makefile index a1374ef..e835aee 100644 --- a/lang/intel2gas/Makefile +++ b/lang/intel2gas/Makefile @@ -6,60 +6,29 @@ # PORTNAME= intel2gas -PORTVERSION= 1.2 +PORTVERSION= 1.3.3 CATEGORIES= lang -MASTER_SITES= http://hermes.terminal.at/intel2gas/ \ - ftp://ftp.scene.org/pub/resources/code/libs/ptc/hermes/intel2gas/ +MASTER_SITES= http://www.niksula.cs.hut.fi/~mtiihone/intel2gas/ MAINTAINER= ports@FreeBSD.Org GNU_CONFIGURE= yes +MAKE_ARGS= CXX="${CXX}" -I2G= +-.01.list +-.02.list address.syntax data.01.list data.02.list \ - data.04.list discard.01.list main.syntax mathnum.syntax num.syntax \ - op.01.list op.02.list op.04.list op.08.list op.10.list op.20.list \ - reg.01.list reg.02.list reg.04.list reg.08.list reg.10.list \ - reg.20.list section.01.list size.01.list size.02.list size.04.list \ - size.08.list - -G2I= addr.syntax address.syntax data.01.list data.02.list data.04.list \ - main.syntax mathnum.syntax num.syntax section.01.list size.01.list \ - size.02.list size.04.list - -I2G2I= +-.01.list +-.02.list op.01.list op.02.list op.04.list op.08.list \ - op.10.list op.20.list reg.01.list reg.02.list reg.04.list \ - reg.08.list reg.10.list reg.20.list - -DOCFILES= BUGS CHANGES DATAFILES DATAFILES.html README README.html TODO - -pre-patch: - ${CP} ${WRKSRC}/README ${WRKSRC}/README.html - ${CP} ${WRKSRC}/DATAFILES ${WRKSRC}/DATAFILES.html - -pre-install: - ${MKDIR} ${PREFIX}/share/intel2gas - ${MKDIR} ${PREFIX}/share/intel2gas/i2g - ${MKDIR} ${PREFIX}/share/intel2gas/g2i - ${INSTALL_PROGRAM} ${WRKSRC}/intel2gas ${PREFIX}/bin +DATAPREFIX= ${PREFIX}/share/intel2gas +DATADIRS= i2g g2i m2g +DOCS= BUGS DATAFILES README do-install: -.for f in ${I2G} - ${INSTALL_DATA} ${WRKSRC}/i2g/${f} ${PREFIX}/share/intel2gas/i2g -.endfor -.for f in ${G2I} - ${INSTALL_DATA} ${WRKSRC}/g2i/${f} ${PREFIX}/share/intel2gas/g2i -.endfor -.for f in ${I2G2I} - ${LN} -fs ${PREFIX}/share/intel2gas/i2g/${f} \ - ${PREFIX}/share/intel2gas/g2i/${f} + ${INSTALL_PROGRAM} ${WRKSRC}/intel2gas ${PREFIX}/bin + ${MKDIR} ${DATAPREFIX} +.for dir in ${DATADIRS} + ${MKDIR} ${DATAPREFIX}/${dir} + cd ${WRKSRC}; ${INSTALL_DATA} ${dir}/* ${DATAPREFIX}/${dir} .endfor - -post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/intel2gas -.for f in ${DOCFILES} - ${INSTALL_MAN} ${WRKSRC}/${f} ${PREFIX}/share/doc/intel2gas -.endfor + cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/intel2gas .endif .include <bsd.port.mk> diff --git a/lang/intel2gas/distinfo b/lang/intel2gas/distinfo index ba4622f..ca72716 100644 --- a/lang/intel2gas/distinfo +++ b/lang/intel2gas/distinfo @@ -1 +1 @@ -MD5 (intel2gas-1.2.tar.gz) = 4346c1dd19daac94221c0d984e2b1c67 +MD5 (intel2gas-1.3.3.tar.gz) = 40c85d961f6214903d80dc7f233a2c6f diff --git a/lang/intel2gas/files/patch-aa b/lang/intel2gas/files/patch-aa deleted file mode 100644 index 83aac50..0000000 --- a/lang/intel2gas/files/patch-aa +++ /dev/null @@ -1,39 +0,0 @@ ---- Makefile.in.orig Tue May 4 11:56:19 1999 -+++ Makefile.in Wed May 12 10:03:30 1999 -@@ -9,11 +9,6 @@ - CXXFLAGS = @CXXFLAGS@ - OFILES = strhandle.o loaddata.o intel2gas.o - HFILES = strhandle.h loaddata.h intel2gas.h --DATADIRS = i2g g2i -- --prefix = @prefix@ --exec_prefix = @exec_prefix@ --data_prefix = $(prefix)/share/intel2gas - - all: warning intel2gas - -@@ -30,24 +25,3 @@ - .cc.o: - $(CXX) -c $(CXXFLAGS) $< - --clean: -- rm -f *.o *~ core -- --distclean: clean -- rm -f intel2gas config.status config.log config.cache Makefile i2gconf.h -- -- --install: -- install -m 755 -d $(data_prefix) -- for datadir in $(DATADIRS); do \ -- install -m 755 -d $(data_prefix)/$$datadir; \ -- install -m 0644 $$datadir/* $(data_prefix)/$$datadir; \ -- done -- install -m 755 intel2gas $(exec_prefix)/bin -- --uninstall: -- for datadir in $(DATADIRS); do \ -- rm -rf $(data_prefix)/$$datadir; \ -- done -- rm -f $(exec_prefix)/bin/intel2gas -- rmdir $(data_prefix) diff --git a/lang/intel2gas/files/patch-ab b/lang/intel2gas/files/patch-ab deleted file mode 100644 index a27ef6b..0000000 --- a/lang/intel2gas/files/patch-ab +++ /dev/null @@ -1,41 +0,0 @@ ---- README.html.orig Wed May 5 11:23:12 1999 -+++ README.html Wed May 12 11:03:47 1999 -@@ -1,13 +1,12 @@ -+<html><head><title> - intel2gas 1.2 (c)1999 Mikko Tiihonen (mikko.tiihonen@hut.fi) -- -+</title></head><body bgcolor="#FFFFFF"><pre> - This program converts assembler source from intel (NASM), to AT&T (gas) - syntax. It is FREE SOFTWARE under the terms of the GNU General Public - License (GPL), enclosed in the file 'COPYING'. ------------------------------------------------------------------------------ -- -+</pre><h2> - 1. What's this? ----------------- -- -+</h2><pre> - Intel2gas is a small text parser that can convert assembler source - written in intel syntax to at&t syntax. And nowadays more often also - the other way. -@@ -15,15 +14,14 @@ - The program does minimal error checking and does not understand the - text it's converting. It's just tries to find matches from its syntax - database. -- -- -+</pre><h2> - 2. Bug reports: ----------------- -+</h2><pre> - You are encouraged to send any bug reports, suggestions and comments to - the author. -- -- -+</pre><h2> - 3. Thanks: ------------ -+</h2><pre> - brn for creating a need for this tool - G. Adam Stanislav for helpping with the commandline -+</pre></body></html> diff --git a/lang/intel2gas/files/patch-ac b/lang/intel2gas/files/patch-ac deleted file mode 100644 index 9bbe674..0000000 --- a/lang/intel2gas/files/patch-ac +++ /dev/null @@ -1,78 +0,0 @@ ---- DATAFILES.html.orig Wed May 5 11:24:59 1999 -+++ DATAFILES.html Wed May 12 11:18:51 1999 -@@ -1,9 +1,10 @@ -+<html><head><title>Intel2gas data files</title></head><body bgcolor="#FFFFFF"><pre> - This document tries to explain how the syntax matching works. You propably - don't want to know, but it's became so complex that I keep forgetting how - it works. -- -+</pre><h1> - 1. How it Works(tm) ---------------------- -+</h1><pre> - Before parsing the program reads all .syntax files for parsing - information, and .list files for list of registers etc. There - is no limit for number of files, or syntaxes in them. -@@ -16,7 +17,7 @@ - Parsing rules: - - Normal characters are matched exactly. - - Space in parse description matches any amount of space in input line. --- `text´ inside '<>' is considered a special tag and parsed accordingly, -+- `text´ inside '<>' is considered a special tag and parsed accordingly, - after successfull match it's value is stored into a variable of the - same name (`text´). - -@@ -25,12 +26,10 @@ - - Output rules: - - Normal characters (including space) are copied to output. --- `text´ inside '<>' is replaced with value of a variable called `text´. -- -- -- -+- `text´ inside '<>' is replaced with value of a variable called `text´. -+</pre><h1> - 2. Files ---------- -+</h1><pre> - .syntax file syntax: - - - parse rule -@@ -44,12 +43,10 @@ - val1 - val2 - ... -- -- -- -+</pre><h1> - 4. Tags --------- --Format of a tag is following: <tagnameN:hh>c, where -+</h1><pre> -+Format of a tag is following: <tagnameN:hh>c, where - - tagname is the name of the tag and the variable where the result is stored. - - N an optional number (0-9) to store the result in different variable. - - hh an optional hex bitmask (00-ff) for list matches, defaults to ff. -@@ -66,12 +63,11 @@ - * the output of amatching rule is stored in the variable. - - Special tags: --<nl> output a new line character --<cm> matches a '#' -- -- -+<nl> output a new line character -+<cm> matches a '#' -+</pre><h1> - 5. Current set of files ------------------------- -+</h1><pre> - Syntax files: - main.syntax the basic syntax file - num.syntax converts hex,dec,oct,bin numbers -@@ -85,3 +81,4 @@ - size.nn.list byte,dword... memory sizes, sets 'm' to match the proper b/w/l - data.nn.list dd, db... sizes used in variable creation - discard.nn.list short... discarded -+</pre></body></html> diff --git a/lang/intel2gas/files/patch-ad b/lang/intel2gas/files/patch-ad deleted file mode 100644 index 6d4f3bb..0000000 --- a/lang/intel2gas/files/patch-ad +++ /dev/null @@ -1,11 +0,0 @@ ---- intel2gas.cc.orig Wed May 5 10:53:34 1999 -+++ intel2gas.cc Wed May 12 12:26:47 1999 -@@ -428,7 +428,7 @@ - static void printHelp(char const *infostr) - { - fprintf(stderr,"%s\n"\ -- "usage: intel2gas [options] [infile] [-o outfile]\n"\ -+ "usage: intel2gas [options] [-o outfile] [infile]\n"\ - "where options include:\n"\ - "\t-h\t\tthis help\n"\ - "\t-i\t\tconvert from intel to at&t format (default)\n"\ diff --git a/lang/intel2gas/pkg-descr b/lang/intel2gas/pkg-descr index fe2341d..a96bc3e 100644 --- a/lang/intel2gas/pkg-descr +++ b/lang/intel2gas/pkg-descr @@ -1,17 +1,9 @@ -intel2gas 1.2 (c)1999 Mikko Tiihonen (mikko.tiihonen@hut.fi) - -This program converts assembler source from intel (NASM), to AT&T (gas) -syntax. It is FREE SOFTWARE under the terms of the GNU General Public -License (GPL), enclosed in the file 'COPYING'. ----------------------------------------------------------------------------- Intel2gas is a small text parser that can convert assembler source -written in intel syntax to at&t syntax. And nowadays more often also -the other way. +written in Intel (nasm) syntax to AT&T (gas) syntax. And nowadays +more often also the other way. The program does minimal error checking and does not understand the -text it's converting. It just tries to find matches from its syntax +text it's converting. It just tries to find matches from its syntax database. -You are encouraged to send any bug reports, suggestions and comments to -the author. -FreeBSD port by G. Adam Stanislav <adam@whizkidtech.net> +WWW: http://www.niksula.cs.hut.fi/~mtiihone/intel2gas/ diff --git a/lang/intel2gas/pkg-plist b/lang/intel2gas/pkg-plist index 20f837c..8a9df23 100644 --- a/lang/intel2gas/pkg-plist +++ b/lang/intel2gas/pkg-plist @@ -1,11 +1,8 @@ +@comment $FreeBSD$ bin/intel2gas %%PORTDOCS%%share/doc/intel2gas/BUGS -%%PORTDOCS%%share/doc/intel2gas/CHANGES %%PORTDOCS%%share/doc/intel2gas/DATAFILES -%%PORTDOCS%%share/doc/intel2gas/DATAFILES.html %%PORTDOCS%%share/doc/intel2gas/README -%%PORTDOCS%%share/doc/intel2gas/README.html -%%PORTDOCS%%share/doc/intel2gas/TODO share/intel2gas/g2i/+-.01.list share/intel2gas/g2i/+-.02.list share/intel2gas/g2i/addr.syntax @@ -13,9 +10,13 @@ share/intel2gas/g2i/address.syntax share/intel2gas/g2i/data.01.list share/intel2gas/g2i/data.02.list share/intel2gas/g2i/data.04.list +share/intel2gas/g2i/fpureg.syntax +share/intel2gas/g2i/jump.syntax +share/intel2gas/g2i/jumpaddr.syntax share/intel2gas/g2i/main.syntax share/intel2gas/g2i/mathnum.syntax share/intel2gas/g2i/num.syntax +share/intel2gas/g2i/numlist.syntax share/intel2gas/g2i/op.01.list share/intel2gas/g2i/op.02.list share/intel2gas/g2i/op.04.list @@ -27,21 +28,28 @@ share/intel2gas/g2i/reg.02.list share/intel2gas/g2i/reg.04.list share/intel2gas/g2i/reg.08.list share/intel2gas/g2i/reg.10.list -share/intel2gas/g2i/reg.20.list share/intel2gas/g2i/section.01.list share/intel2gas/g2i/size.01.list share/intel2gas/g2i/size.02.list share/intel2gas/g2i/size.04.list +share/intel2gas/g2i/size.08.list +share/intel2gas/g2i/size.10.list +share/intel2gas/g2i/strings.syntax +share/intel2gas/g2i/textlist.syntax share/intel2gas/i2g/+-.01.list share/intel2gas/i2g/+-.02.list share/intel2gas/i2g/address.syntax share/intel2gas/i2g/data.01.list share/intel2gas/i2g/data.02.list share/intel2gas/i2g/data.04.list +share/intel2gas/i2g/data.08.list share/intel2gas/i2g/discard.01.list +share/intel2gas/i2g/fpureg.syntax +share/intel2gas/i2g/jump.syntax share/intel2gas/i2g/main.syntax share/intel2gas/i2g/mathnum.syntax share/intel2gas/i2g/num.syntax +share/intel2gas/i2g/numlist.syntax share/intel2gas/i2g/op.01.list share/intel2gas/i2g/op.02.list share/intel2gas/i2g/op.04.list @@ -53,13 +61,48 @@ share/intel2gas/i2g/reg.02.list share/intel2gas/i2g/reg.04.list share/intel2gas/i2g/reg.08.list share/intel2gas/i2g/reg.10.list -share/intel2gas/i2g/reg.20.list share/intel2gas/i2g/section.01.list share/intel2gas/i2g/size.01.list share/intel2gas/i2g/size.02.list share/intel2gas/i2g/size.04.list share/intel2gas/i2g/size.08.list -%%PORTDOCS%%@dirrm share/doc/intel2gas -@dirrm share/intel2gas/g2i +share/intel2gas/i2g/size.10.list +share/intel2gas/i2g/textlist.syntax +share/intel2gas/m2g/+-.01.list +share/intel2gas/m2g/+-.02.list +share/intel2gas/m2g/address.syntax +share/intel2gas/m2g/data.01.list +share/intel2gas/m2g/data.02.list +share/intel2gas/m2g/data.04.list +share/intel2gas/m2g/data.08.list +share/intel2gas/m2g/discard.01.list +share/intel2gas/m2g/fpureg.syntax +share/intel2gas/m2g/jump.syntax +share/intel2gas/m2g/main.syntax +share/intel2gas/m2g/manypublics.syntax +share/intel2gas/m2g/mathnum.syntax +share/intel2gas/m2g/num.syntax +share/intel2gas/m2g/numlist.syntax +share/intel2gas/m2g/op.01.list +share/intel2gas/m2g/op.02.list +share/intel2gas/m2g/op.04.list +share/intel2gas/m2g/op.08.list +share/intel2gas/m2g/op.10.list +share/intel2gas/m2g/op.20.list +share/intel2gas/m2g/reg.01.list +share/intel2gas/m2g/reg.02.list +share/intel2gas/m2g/reg.04.list +share/intel2gas/m2g/reg.08.list +share/intel2gas/m2g/reg.10.list +share/intel2gas/m2g/section.01.list +share/intel2gas/m2g/size.01.list +share/intel2gas/m2g/size.02.list +share/intel2gas/m2g/size.04.list +share/intel2gas/m2g/size.08.list +share/intel2gas/m2g/size.10.list +share/intel2gas/m2g/textlist.syntax +@dirrm share/intel2gas/m2g @dirrm share/intel2gas/i2g +@dirrm share/intel2gas/g2i @dirrm share/intel2gas +%%PORTDOCS%%@dirrm share/doc/intel2gas |