summaryrefslogtreecommitdiff
path: root/devel/intel2gas
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-10-20 19:22:53 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-10-20 19:22:53 +0000
commit7451190b6afed0c2af9bfa55ea86ec4166e89c61 (patch)
tree0a9fa11ebaef9715d4e9df81c1abefd0f6211d61 /devel/intel2gas
parent5992a7895e2aa695718ee9c4bf754caa8637c6a1 (diff)
downloadpkgsrc-7451190b6afed0c2af9bfa55ea86ec4166e89c61.tar.gz
Initial import of intel2gas-1.3.3 from pkgsrc-wip, packaged by
Cesar Catrian. 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.. :) Features: Basic opcodes are done MMX/FPU support (converts all Hermes files :) Preliminary Gas2Intel conversion Conversion from masm/tasm to gnu syntax
Diffstat (limited to 'devel/intel2gas')
-rw-r--r--devel/intel2gas/DESCR14
-rw-r--r--devel/intel2gas/Makefile15
-rw-r--r--devel/intel2gas/PLIST104
-rw-r--r--devel/intel2gas/distinfo5
-rw-r--r--devel/intel2gas/patches/patch-aa33
5 files changed, 171 insertions, 0 deletions
diff --git a/devel/intel2gas/DESCR b/devel/intel2gas/DESCR
new file mode 100644
index 00000000000..39a155d9f36
--- /dev/null
+++ b/devel/intel2gas/DESCR
@@ -0,0 +1,14 @@
+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.. :)
+
+Features:
+Basic opcodes are done
+MMX/FPU support (converts all Hermes files :)
+Preliminary Gas2Intel conversion
+Conversion from masm/tasm to gnu syntax
diff --git a/devel/intel2gas/Makefile b/devel/intel2gas/Makefile
new file mode 100644
index 00000000000..b4028997b1f
--- /dev/null
+++ b/devel/intel2gas/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/20 19:22:53 xtraeme Exp $
+#
+
+DISTNAME= intel2gas-1.3.3
+CATEGORIES= devel
+MASTER_SITES= http://www.niksula.cs.hut.fi/~mtiihone/intel2gas/
+
+MAINTAINER= ccatrian@eml.cc
+HOMEPAGE= http://www.niksula.cs.hut.fi/~mtiihone/intel2gas/
+COMMENT= Convert nasm source files to gas source files
+
+USE_BUILDLINK3= yes
+GNU_CONFIGURE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/intel2gas/PLIST b/devel/intel2gas/PLIST
new file mode 100644
index 00000000000..dbcea698198
--- /dev/null
+++ b/devel/intel2gas/PLIST
@@ -0,0 +1,104 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/10/20 19:22:53 xtraeme Exp $
+bin/intel2gas
+share/intel2gas/g2i/+-.01.list
+share/intel2gas/g2i/+-.02.list
+share/intel2gas/g2i/addr.syntax
+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
+share/intel2gas/g2i/op.08.list
+share/intel2gas/g2i/op.10.list
+share/intel2gas/g2i/op.20.list
+share/intel2gas/g2i/reg.01.list
+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/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
+share/intel2gas/i2g/op.08.list
+share/intel2gas/i2g/op.10.list
+share/intel2gas/i2g/op.20.list
+share/intel2gas/i2g/reg.01.list
+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/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
+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
diff --git a/devel/intel2gas/distinfo b/devel/intel2gas/distinfo
new file mode 100644
index 00000000000..396130111e6
--- /dev/null
+++ b/devel/intel2gas/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/10/20 19:22:53 xtraeme Exp $
+
+SHA1 (intel2gas-1.3.3.tar.gz) = 755e5a4739586944f974a1e39056cd20f150db65
+Size (intel2gas-1.3.3.tar.gz) = 48460 bytes
+SHA1 (patch-aa) = 379ca4e385ce9b6e706fa5376a6a2e962146cbb0
diff --git a/devel/intel2gas/patches/patch-aa b/devel/intel2gas/patches/patch-aa
new file mode 100644
index 00000000000..ef8c4cd9166
--- /dev/null
+++ b/devel/intel2gas/patches/patch-aa
@@ -0,0 +1,33 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/10/20 19:22:54 xtraeme Exp $
+
+--- Makefile.in.orig 2004-10-20 21:17:04.000000000 +0200
++++ Makefile.in 2004-10-20 21:19:07.000000000 +0200
+@@ -1,7 +1,7 @@
+ # intel2gas 1.3.3 (c)1999 Mikko Tiihonen (mikko.tiihonen@hut.fi)
+ # Makefile by brn (c.nentwich@cs.ucl.ac.uk)
+
+-CXX = g++
++#CXX = g++
+
+ # CXXFLAGS = -O6 -mpentium -malign-jumps=2 -malign-functions=2 -malign-loops=2
+ # Just kidding :)
+@@ -39,13 +39,14 @@
+
+
+ install:
+- install -m 755 -d $(data_prefix)
++ $(BSD_INSTALL_DATA_DIR) $(data_prefix)
+ for datadir in $(DATADIRS); do \
+- install -m 755 -d $(data_prefix)/$$datadir; \
+- cp -a $$datadir/* $(data_prefix)/$$datadir; \
++ $(BSD_INSTALL_DATA_DIR) $(data_prefix)/$$datadir; \
++ $(BSD_INSTALL_DATA) $$datadir/*.list $(data_prefix)/$$datadir; \
++ $(BSD_INSTALL_DATA) $$datadir/*.syntax $(data_prefix)/$$datadir; \
+ done
+- install -m 755 -d $(prefix)/bin
+- install -s -m 755 intel2gas $(prefix)/bin
++ $(BSD_INSTALL_DATA_DIR) $(prefix)/bin
++ $(BSD_INSTALL_PROGRAM) intel2gas $(prefix)/bin
+
+ uninstall:
+ for datadir in $(DATADIRS); do \