diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2005-12-22 18:59:54 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2005-12-22 18:59:54 +0000 |
commit | 7e9e3130696784315eeeb390551944d425897d4b (patch) | |
tree | 42503a3a8f52703990f10263e0fe70c287b27df7 /converters | |
parent | 5453abb97bc0f0676e26ec841393362b4a26596a (diff) | |
download | ports-7e9e3130696784315eeeb390551944d425897d4b.tar.gz ports-7e9e3130696784315eeeb390551944d425897d4b.zip |
New port intel2gas version 1.3.3: MASM/NASM/TASM to GNU asm syntax
converter
Notes
Notes:
svn path=/head/; revision=151867
Diffstat (limited to 'converters')
-rw-r--r-- | converters/Makefile | 1 | ||||
-rw-r--r-- | converters/intel2gas/Makefile | 22 | ||||
-rw-r--r-- | converters/intel2gas/distinfo | 3 | ||||
-rw-r--r-- | converters/intel2gas/files/patch-Makefile.in | 26 | ||||
-rw-r--r-- | converters/intel2gas/pkg-descr | 15 | ||||
-rw-r--r-- | converters/intel2gas/pkg-plist | 103 |
6 files changed, 170 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile index c076fb811cd9..94bd44e5cb7b 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -23,6 +23,7 @@ SUBDIR += iconv SUBDIR += iconv-extra SUBDIR += iconv-rfc1345 + SUBDIR += intel2gas SUBDIR += ish SUBDIR += konwert SUBDIR += ktextdecode diff --git a/converters/intel2gas/Makefile b/converters/intel2gas/Makefile new file mode 100644 index 000000000000..610d85626b94 --- /dev/null +++ b/converters/intel2gas/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: MASM/NASM/TASM to GAS converter +# Date created: Thu Dec 22 14:46:11 UTC 2005 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= intel2gas +PORTVERSION= 1.3.3 +CATEGORIES= converters devel +MASTER_SITES= http://www.niksula.cs.hut.fi/~mtiihone/intel2gas/ + +MAINTAINER= lioux@FreeBSD.org +COMMENT= MASM/NASM/TASM to GNU asm syntax converter + +USE_REINPLACE= yes +GNU_CONFIGURE= yes + +pre-install: + @${MKDIR} ${DATADIR} + +.include <bsd.port.mk> diff --git a/converters/intel2gas/distinfo b/converters/intel2gas/distinfo new file mode 100644 index 000000000000..288b1c1b3db8 --- /dev/null +++ b/converters/intel2gas/distinfo @@ -0,0 +1,3 @@ +MD5 (intel2gas-1.3.3.tar.gz) = 40c85d961f6214903d80dc7f233a2c6f +SHA256 (intel2gas-1.3.3.tar.gz) = 8abb55437cb14c148e878cf40c8be8208ffbbe0e38d35a5e08c206f28b669538 +SIZE (intel2gas-1.3.3.tar.gz) = 48460 diff --git a/converters/intel2gas/files/patch-Makefile.in b/converters/intel2gas/files/patch-Makefile.in new file mode 100644 index 000000000000..047a54c23dec --- /dev/null +++ b/converters/intel2gas/files/patch-Makefile.in @@ -0,0 +1,26 @@ +--- Makefile.in.orig Tue Nov 14 16:53:03 2000 ++++ Makefile.in Thu Dec 22 16:16:09 2005 +@@ -1,7 +1,6 @@ + # intel2gas 1.3.3 (c)1999 Mikko Tiihonen (mikko.tiihonen@hut.fi) + # Makefile by brn (c.nentwich@cs.ucl.ac.uk) + +-CXX = g++ + + # CXXFLAGS = -O6 -mpentium -malign-jumps=2 -malign-functions=2 -malign-loops=2 + # Just kidding :) +@@ -39,13 +38,11 @@ + + + install: +- install -m 755 -d $(data_prefix) + for datadir in $(DATADIRS); do \ + install -m 755 -d $(data_prefix)/$$datadir; \ +- cp -a $$datadir/* $(data_prefix)/$$datadir; \ ++ ${BSD_INSTALL_DATA} $$datadir/* $(data_prefix)/$$datadir; \ + done +- install -m 755 -d $(prefix)/bin +- install -s -m 755 intel2gas $(prefix)/bin ++ ${BSD_INSTALL_PROGRAM} intel2gas $(prefix)/bin + + uninstall: + for datadir in $(DATADIRS); do \ diff --git a/converters/intel2gas/pkg-descr b/converters/intel2gas/pkg-descr new file mode 100644 index 000000000000..175d62244b1a --- /dev/null +++ b/converters/intel2gas/pkg-descr @@ -0,0 +1,15 @@ +[ excerpt from developer's www site ] + +Intel2GAS is a converter that will convert assembler source files +written for NASM to files that can be assembled using the GNU +Assembler (GAS), on the i386 platform. It provides support for basic +MMX instructions as well. + +This converter was written for the Hermes project and is now released +to the general public. The code inside this converter is extremely +flexible, you can write a syntax file to convert between any two +assembler languages on a good day.. :) + +WWW: http://www.niksula.cs.hut.fi/~mtiihone/intel2gas/ + +-- lioux@FreeBSD.org diff --git a/converters/intel2gas/pkg-plist b/converters/intel2gas/pkg-plist new file mode 100644 index 000000000000..f8e2e020f8bc --- /dev/null +++ b/converters/intel2gas/pkg-plist @@ -0,0 +1,103 @@ +bin/intel2gas +%%DATADIR%%/g2i/+-.01.list +%%DATADIR%%/g2i/+-.02.list +%%DATADIR%%/g2i/addr.syntax +%%DATADIR%%/g2i/address.syntax +%%DATADIR%%/g2i/data.01.list +%%DATADIR%%/g2i/data.02.list +%%DATADIR%%/g2i/data.04.list +%%DATADIR%%/g2i/fpureg.syntax +%%DATADIR%%/g2i/jump.syntax +%%DATADIR%%/g2i/jumpaddr.syntax +%%DATADIR%%/g2i/main.syntax +%%DATADIR%%/g2i/mathnum.syntax +%%DATADIR%%/g2i/num.syntax +%%DATADIR%%/g2i/numlist.syntax +%%DATADIR%%/g2i/op.01.list +%%DATADIR%%/g2i/op.02.list +%%DATADIR%%/g2i/op.04.list +%%DATADIR%%/g2i/op.08.list +%%DATADIR%%/g2i/op.10.list +%%DATADIR%%/g2i/op.20.list +%%DATADIR%%/g2i/reg.01.list +%%DATADIR%%/g2i/reg.02.list +%%DATADIR%%/g2i/reg.04.list +%%DATADIR%%/g2i/reg.08.list +%%DATADIR%%/g2i/reg.10.list +%%DATADIR%%/g2i/section.01.list +%%DATADIR%%/g2i/size.01.list +%%DATADIR%%/g2i/size.02.list +%%DATADIR%%/g2i/size.04.list +%%DATADIR%%/g2i/size.08.list +%%DATADIR%%/g2i/size.10.list +%%DATADIR%%/g2i/strings.syntax +%%DATADIR%%/g2i/textlist.syntax +%%DATADIR%%/i2g/+-.01.list +%%DATADIR%%/i2g/+-.02.list +%%DATADIR%%/i2g/address.syntax +%%DATADIR%%/i2g/data.01.list +%%DATADIR%%/i2g/data.02.list +%%DATADIR%%/i2g/data.04.list +%%DATADIR%%/i2g/data.08.list +%%DATADIR%%/i2g/discard.01.list +%%DATADIR%%/i2g/fpureg.syntax +%%DATADIR%%/i2g/jump.syntax +%%DATADIR%%/i2g/main.syntax +%%DATADIR%%/i2g/mathnum.syntax +%%DATADIR%%/i2g/num.syntax +%%DATADIR%%/i2g/numlist.syntax +%%DATADIR%%/i2g/op.01.list +%%DATADIR%%/i2g/op.02.list +%%DATADIR%%/i2g/op.04.list +%%DATADIR%%/i2g/op.08.list +%%DATADIR%%/i2g/op.10.list +%%DATADIR%%/i2g/op.20.list +%%DATADIR%%/i2g/reg.01.list +%%DATADIR%%/i2g/reg.02.list +%%DATADIR%%/i2g/reg.04.list +%%DATADIR%%/i2g/reg.08.list +%%DATADIR%%/i2g/reg.10.list +%%DATADIR%%/i2g/section.01.list +%%DATADIR%%/i2g/size.01.list +%%DATADIR%%/i2g/size.02.list +%%DATADIR%%/i2g/size.04.list +%%DATADIR%%/i2g/size.08.list +%%DATADIR%%/i2g/size.10.list +%%DATADIR%%/i2g/textlist.syntax +%%DATADIR%%/m2g/+-.01.list +%%DATADIR%%/m2g/+-.02.list +%%DATADIR%%/m2g/address.syntax +%%DATADIR%%/m2g/data.01.list +%%DATADIR%%/m2g/data.02.list +%%DATADIR%%/m2g/data.04.list +%%DATADIR%%/m2g/data.08.list +%%DATADIR%%/m2g/discard.01.list +%%DATADIR%%/m2g/fpureg.syntax +%%DATADIR%%/m2g/jump.syntax +%%DATADIR%%/m2g/main.syntax +%%DATADIR%%/m2g/manypublics.syntax +%%DATADIR%%/m2g/mathnum.syntax +%%DATADIR%%/m2g/num.syntax +%%DATADIR%%/m2g/numlist.syntax +%%DATADIR%%/m2g/op.01.list +%%DATADIR%%/m2g/op.02.list +%%DATADIR%%/m2g/op.04.list +%%DATADIR%%/m2g/op.08.list +%%DATADIR%%/m2g/op.10.list +%%DATADIR%%/m2g/op.20.list +%%DATADIR%%/m2g/reg.01.list +%%DATADIR%%/m2g/reg.02.list +%%DATADIR%%/m2g/reg.04.list +%%DATADIR%%/m2g/reg.08.list +%%DATADIR%%/m2g/reg.10.list +%%DATADIR%%/m2g/section.01.list +%%DATADIR%%/m2g/size.01.list +%%DATADIR%%/m2g/size.02.list +%%DATADIR%%/m2g/size.04.list +%%DATADIR%%/m2g/size.08.list +%%DATADIR%%/m2g/size.10.list +%%DATADIR%%/m2g/textlist.syntax +@dirrm %%DATADIR%%/m2g +@dirrm %%DATADIR%%/i2g +@dirrm %%DATADIR%%/g2i +@dirrm %%DATADIR%% |