summaryrefslogtreecommitdiff
path: root/editors/biew
diff options
context:
space:
mode:
authormjl <mjl>2000-10-30 00:41:54 +0000
committermjl <mjl>2000-10-30 00:41:54 +0000
commit045bda98687178e2afa9cf16f4f53f17459bdf84 (patch)
treea6b23bd88bedd623ac3d267cd90b422dd2863b5a /editors/biew
parent052d2fcabc2e0610b482e2e54f5f70da0b22d095 (diff)
downloadpkgsrc-045bda98687178e2afa9cf16f4f53f17459bdf84.tar.gz
Initial import of biew-5.2.0, a binary viewer/editor with built-in
disassembler.
Diffstat (limited to 'editors/biew')
-rw-r--r--editors/biew/Makefile27
-rw-r--r--editors/biew/files/md53
-rw-r--r--editors/biew/files/patch-sum4
-rw-r--r--editors/biew/patches/patch-aa26
-rw-r--r--editors/biew/patches/patch-ab14
-rw-r--r--editors/biew/pkg/COMMENT1
-rw-r--r--editors/biew/pkg/DESCR3
-rw-r--r--editors/biew/pkg/PLIST8
8 files changed, 86 insertions, 0 deletions
diff --git a/editors/biew/Makefile b/editors/biew/Makefile
new file mode 100644
index 00000000000..a10ce3b27cd
--- /dev/null
+++ b/editors/biew/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/10/30 00:41:54 mjl Exp $
+#
+
+DISTNAME= biew-520
+PKGNAME= biew-5.2.0
+CATEGORIES= editors
+MASTER_SITES= ftp://biew.sourceforge.net/pub/biew/5.x/src/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://biew.sourceforge.net/en/biew.html
+
+DEPENDS+= libslang-*:../../devel/libslang
+
+ONLY_FOR_PLATFORM= *-*-i386
+USE_GMAKE= YES
+MAKEFILE= makefile
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/biew/ ${PREFIX}/share/doc/biew/
+ ${INSTALL_PROGRAM} ${WRKSRC}/biew ${PREFIX}/bin/
+ ${INSTALL_DATA} ${WRKSRC}/bin_rc/biew.hlp ${PREFIX}/share/biew/
+ ${INSTALL_DATA} ${WRKSRC}/bin_rc/standard.skn ${PREFIX}/share/biew/
+ ${INSTALL_DATA} ${WRKSRC}/bin_rc/assembly.skn ${PREFIX}/share/biew/
+ ${INSTALL_DATA} ${WRKSRC}/doc/biew_en.txt ${PREFIX}/share/doc/biew/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/editors/biew/files/md5 b/editors/biew/files/md5
new file mode 100644
index 00000000000..cfb2598fba2
--- /dev/null
+++ b/editors/biew/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/10/30 00:41:54 mjl Exp $
+
+MD5 (biew-520.tar.bz2) = fa1a992ce9abd7538e7fc4ac23023c4d
diff --git a/editors/biew/files/patch-sum b/editors/biew/files/patch-sum
new file mode 100644
index 00000000000..92d46c08926
--- /dev/null
+++ b/editors/biew/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/10/30 00:41:54 mjl Exp $
+
+MD5 (patch-aa) = 7469ed348d77a91e2a90039ddb2ac6ca
+MD5 (patch-ab) = 9fab65b51e3dcd98485b7083e29d707e
diff --git a/editors/biew/patches/patch-aa b/editors/biew/patches/patch-aa
new file mode 100644
index 00000000000..79465244416
--- /dev/null
+++ b/editors/biew/patches/patch-aa
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/10/30 00:41:54 mjl Exp $
+
+--- makefile.orig Mon Oct 30 01:25:15 2000
++++ makefile Mon Oct 30 01:15:21 2000
+@@ -39,18 +39,18 @@
+ #------------------------------------------------------------------------------
+ # Notes: You can also define -D__EXPERIMENTAL_VERSION flag, if you want to
+ # build experimental version with fastcall technology.
+-HOST_CFLAGS=
++HOST_CFLAGS= -I${PREFIX}/include -D__int8_t_defined '-DLIBDIR="${PREFIX}/share"'
+
+ # Please add any host specific linker flags here, if it need
+ #------------------------------------------------------------------------------
+-HOST_LDFLAGS=
++HOST_LDFLAGS= -L${PREFIX}/lib -R${PREFIX}/lib
+
+ ###########################################################################
+ # You can fine tune the project for Unix platforms. For detail see unix.txt
+ # Please select screen library, that you want to use. Valid values are:
+ # vt100, slang, curses (default)
+ #--------------------------------------------------------------------------
+-TARGET_SCREEN_LIB = curses
++TARGET_SCREEN_LIB = slang
+
+ # Please select if you want to use mouse. Valid values are:
+ # n(default), y
diff --git a/editors/biew/patches/patch-ab b/editors/biew/patches/patch-ab
new file mode 100644
index 00000000000..1e4b684f833
--- /dev/null
+++ b/editors/biew/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/10/30 00:41:54 mjl Exp $
+
+--- biewlib/sysdep/generic/unix/os_dep.c.orig Mon Oct 30 01:13:55 2000
++++ biewlib/sysdep/generic/unix/os_dep.c Mon Oct 30 01:14:32 2000
+@@ -29,7 +29,9 @@
+ #include "biewlib/biewlib.h"
+ #include "console.h"
+
++#ifndef LIBDIR
+ #define LIBDIR "/usr/lib"
++#endif
+
+ static char _ini_name[FILENAME_MAX + 1];
+ static char _rc_dir_name[FILENAME_MAX + 1];
diff --git a/editors/biew/pkg/COMMENT b/editors/biew/pkg/COMMENT
new file mode 100644
index 00000000000..18aea03fe7d
--- /dev/null
+++ b/editors/biew/pkg/COMMENT
@@ -0,0 +1 @@
+Binary viewer/editor
diff --git a/editors/biew/pkg/DESCR b/editors/biew/pkg/DESCR
new file mode 100644
index 00000000000..82c166d2d1a
--- /dev/null
+++ b/editors/biew/pkg/DESCR
@@ -0,0 +1,3 @@
+Biew stands for Binary vIEWer, and is just that with built-in editor
+for binary, hexadecimal and disassembler modes. The program also has
+text viewer with different Russia codepages support.
diff --git a/editors/biew/pkg/PLIST b/editors/biew/pkg/PLIST
new file mode 100644
index 00000000000..4369b183c3b
--- /dev/null
+++ b/editors/biew/pkg/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/30 00:41:54 mjl Exp $
+bin/biew
+share/biew/biew.hlp
+share/biew/standard.skn
+share/biew/assembly.skn
+@dirrm share/biew
+share/doc/biew/biew_en.txt
+@dirrm share/doc/biew