summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorkhorben <khorben>2016-02-20 03:14:46 +0000
committerkhorben <khorben>2016-02-20 03:14:46 +0000
commit05828647ed17411ea4821664664d26376e98040b (patch)
tree34319e3458aa82e4f1171e1dc7fd164d701700d1 /devel
parent88a7581e2eb41bb9a5425a1ce66472c98e5894b8 (diff)
downloadpkgsrc-05828647ed17411ea4821664664d26376e98040b.tar.gz
Import DeforaOS Asm 0.2.3
This project is a multi-platform (de-)assembly framework. It has support for a number of architectures and file formats already.
Diffstat (limited to 'devel')
-rw-r--r--devel/deforaos-asm/DESCR18
-rw-r--r--devel/deforaos-asm/Makefile25
-rw-r--r--devel/deforaos-asm/PLIST58
-rw-r--r--devel/deforaos-asm/buildlink3.mk16
-rw-r--r--devel/deforaos-asm/distinfo7
-rw-r--r--devel/deforaos-asm/patches/patch-Makefile14
6 files changed, 138 insertions, 0 deletions
diff --git a/devel/deforaos-asm/DESCR b/devel/deforaos-asm/DESCR
new file mode 100644
index 00000000000..7104d82fa84
--- /dev/null
+++ b/devel/deforaos-asm/DESCR
@@ -0,0 +1,18 @@
+This project is a multi-platform (de-)assembler. It has support for the
+following architectures:
+ * amd64
+ * arm (little and big endian)
+ * dalvik (Android bytecode)
+ * i386 and compatible
+ * java (bytecode)
+ * mips (little and big endian)
+ * sparc
+ * sparc64
+ * yasep (16 and 32-bits modes)
+
+It can handle the following file formats:
+ * Dex (inside Android applications)
+ * ELF
+ * flat files
+ * Java classes
+ * PE (Windows executables and libraries)
diff --git a/devel/deforaos-asm/Makefile b/devel/deforaos-asm/Makefile
new file mode 100644
index 00000000000..411c495faec
--- /dev/null
+++ b/devel/deforaos-asm/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2016/02/20 03:14:46 khorben Exp $
+#
+
+DISTNAME= Asm-0.2.3
+PKGNAME= deforaos-asm-0.2.3
+CATEGORIES= devel
+MASTER_SITES= http://www.defora.org/os/download/download/4423/
+
+MAINTAINER= khorben@defora.org
+HOMEPAGE= http://www.defora.org/
+COMMENT= DeforaOS (dis)assembly framework
+
+LICENSE= gnu-lgpl-v3
+
+MAKE_FLAGS+= PREFIX=${PREFIX}
+MAKE_FLAGS+= DESTDIR=${DESTDIR}
+MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
+MAKE_FLAGS+= INSTALL=${INSTALL}
+AUTO_MKDIRS= yes
+
+.include "../../devel/deforaos-cpp/buildlink3.mk"
+BUILDLINK_API_DEPENDS.gtk-doc+= gtk-doc>=1.20
+.include "../../textproc/gtk-doc/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/deforaos-asm/PLIST b/devel/deforaos-asm/PLIST
new file mode 100644
index 00000000000..bc4ea98b797
--- /dev/null
+++ b/devel/deforaos-asm/PLIST
@@ -0,0 +1,58 @@
+@comment $NetBSD: PLIST,v 1.1 2016/02/20 03:14:46 khorben Exp $
+bin/asm
+bin/deasm
+include/Devel/Asm.h
+include/Devel/Asm/arch.h
+include/Devel/Asm/asm.h
+include/Devel/Asm/code.h
+include/Devel/Asm/common.h
+include/Devel/Asm/format.h
+lib/Asm/arch/amd64.so
+lib/Asm/arch/arm.so
+lib/Asm/arch/armeb.so
+lib/Asm/arch/armel.so
+lib/Asm/arch/dalvik.so
+lib/Asm/arch/i386.so
+lib/Asm/arch/i386_real.so
+lib/Asm/arch/i486.so
+lib/Asm/arch/i586.so
+lib/Asm/arch/i686.so
+lib/Asm/arch/java.so
+lib/Asm/arch/mips.so
+lib/Asm/arch/mipseb.so
+lib/Asm/arch/mipsel.so
+lib/Asm/arch/sparc.so
+lib/Asm/arch/sparc64.so
+lib/Asm/arch/yasep.so
+lib/Asm/arch/yasep16.so
+lib/Asm/arch/yasep32.so
+lib/Asm/format/dex.so
+lib/Asm/format/elf.so
+lib/Asm/format/flat.so
+lib/Asm/format/java.so
+lib/Asm/format/mbr.so
+lib/Asm/format/pe.so
+lib/libAsm.a
+lib/libAsm.so
+lib/libAsm.so.0
+lib/libAsm.so.0.0
+lib/pkgconfig/Asm.pc
+share/gtk-doc/html/Asm/Asm-arch.html
+share/gtk-doc/html/Asm/Asm-asm.html
+share/gtk-doc/html/Asm/Asm-code.html
+share/gtk-doc/html/Asm/Asm-common.html
+share/gtk-doc/html/Asm/Asm-format.html
+share/gtk-doc/html/Asm/Asm.devhelp2
+share/gtk-doc/html/Asm/api-index-full.html
+share/gtk-doc/html/Asm/ch01.html
+share/gtk-doc/html/Asm/deprecated-api-index.html
+share/gtk-doc/html/Asm/home.png
+share/gtk-doc/html/Asm/index.html
+share/gtk-doc/html/Asm/index.sgml
+share/gtk-doc/html/Asm/left-insensitive.png
+share/gtk-doc/html/Asm/left.png
+share/gtk-doc/html/Asm/right-insensitive.png
+share/gtk-doc/html/Asm/right.png
+share/gtk-doc/html/Asm/style.css
+share/gtk-doc/html/Asm/up-insensitive.png
+share/gtk-doc/html/Asm/up.png
diff --git a/devel/deforaos-asm/buildlink3.mk b/devel/deforaos-asm/buildlink3.mk
new file mode 100644
index 00000000000..867e078921d
--- /dev/null
+++ b/devel/deforaos-asm/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/02/20 03:14:46 khorben Exp $
+#
+
+BUILDLINK_TREE+= deforaos-asm
+
+.if !defined(DEFORAOS_ASM_BUILDLINK3_MK)
+DEFORAOS_ASM_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.deforaos-asm+= deforaos-asm>=0.2.3
+BUILDLINK_ABI_DEPENDS.deforaos-asm?= deforaos-asm>=0.2.3
+BUILDLINK_PKGSRCDIR.deforaos-asm?= ../../devel/deforaos-asm
+
+.include "../../devel/deforaos-cpp/buildlink3.mk"
+.endif # DEFORAOS_ASM_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -deforaos-asm
diff --git a/devel/deforaos-asm/distinfo b/devel/deforaos-asm/distinfo
new file mode 100644
index 00000000000..ea0019384ff
--- /dev/null
+++ b/devel/deforaos-asm/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2016/02/20 03:14:46 khorben Exp $
+
+SHA1 (Asm-0.2.3.tar.gz) = 8314ce1ea2ca25b85748e497c340f416645b89eb
+RMD160 (Asm-0.2.3.tar.gz) = d6285056aae6dd7324964e2453acd309b12d5906
+SHA512 (Asm-0.2.3.tar.gz) = 01a78be3e5850d68e683c66b4a357e054b5cd137f1a34e7d1e695a0755eeee90dc1efb5e4c487354d4e375e01f73443d91f5875403354cfc37055a6f8bd6b25a
+Size (Asm-0.2.3.tar.gz) = 111944 bytes
+SHA1 (patch-Makefile) = f671907e213321b54a759669b00f158425c76165
diff --git a/devel/deforaos-asm/patches/patch-Makefile b/devel/deforaos-asm/patches/patch-Makefile
new file mode 100644
index 00000000000..cec80adbcc5
--- /dev/null
+++ b/devel/deforaos-asm/patches/patch-Makefile
@@ -0,0 +1,14 @@
+$NetBSD: patch-Makefile,v 1.1 2016/02/20 03:14:46 khorben Exp $
+
+Do not run the tests
+
+--- Makefile.orig 2016-02-20 03:08:46.000000000 +0000
++++ Makefile
+@@ -1,6 +1,6 @@
+ PACKAGE = Asm
+ VERSION = 0.2.3
+-SUBDIRS = data doc include src tools tests
++SUBDIRS = data doc include src tools
+ RM = rm -f
+ LN = ln -f
+ TAR = tar