aboutsummaryrefslogtreecommitdiff
path: root/editors/biew
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2009-09-29 12:46:10 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2009-09-29 12:46:10 +0000
commit8dea97dc198ab26044ece187e406aaa8e4c3131f (patch)
treefe6c08be11cdc0e79e506d6677bac0e5617f4805 /editors/biew
parent4e915ff73301d53b868c025c6740f985090a5617 (diff)
downloadports-8dea97dc198ab26044ece187e406aaa8e4c3131f.tar.gz
ports-8dea97dc198ab26044ece187e406aaa8e4c3131f.zip
Notes
Diffstat (limited to 'editors/biew')
-rw-r--r--editors/biew/Makefile13
-rw-r--r--editors/biew/distinfo6
-rw-r--r--editors/biew/files/patch-biewlib_sysdep_generic_unix_keyboard.c22
-rw-r--r--editors/biew/files/patch-biewlib_sysdep_generic_unix_vio.c24
4 files changed, 10 insertions, 55 deletions
diff --git a/editors/biew/Makefile b/editors/biew/Makefile
index 8bed68d8010c..0770ffdac591 100644
--- a/editors/biew/Makefile
+++ b/editors/biew/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: biew
+# New ports collection makefile for: BIEW
# Date created: 04 February 2000
# Whom: Michael Vasilenko <acid@stu.cn.ua>
#
@@ -6,24 +6,25 @@
#
PORTNAME= biew
-PORTVERSION= 5.7.3.1
+PORTVERSION= 6.0.0
CATEGORIES= editors
MASTER_SITES= SF
-DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
-
-LIB_DEPENDS= slang.2:${PORTSDIR}/devel/libslang2
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}-src
MAINTAINER= danfe@FreeBSD.org
COMMENT= Binary file viewer and editor
+LIB_DEPENDS= slang.2:${PORTSDIR}/devel/libslang2
+
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --cc="${CC}" --with-extraincdir="${LOCALBASE}/include" \
--ld="${CC}" --with-extralibdir="${LOCALBASE}/lib" \
- --prefix="${PREFIX}" --datadir="${DATADIR}"
+ --prefix="${PREFIX}" --datadir="${DATADIR}" --enable-slang
USE_BZIP2= yes
USE_GMAKE= yes
USE_ICONV= yes
MAKEFILE= makefile
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.//g}
PLIST_FILES= bin/biew \
%%DATADIR%%/assembly.skn \
diff --git a/editors/biew/distinfo b/editors/biew/distinfo
index b5436a8992df..5cc458b462cf 100644
--- a/editors/biew/distinfo
+++ b/editors/biew/distinfo
@@ -1,3 +1,3 @@
-MD5 (biew-5731.tar.bz2) = ed9b2b9b4c69e469970b9e6f88b0e74b
-SHA256 (biew-5731.tar.bz2) = 34a2cb66f1b2da8f3f208ae0010e8ad0706d425e62ce8eb13d7814c859e1cb49
-SIZE (biew-5731.tar.bz2) = 739607
+MD5 (biew-600-src.tar.bz2) = 1bb12fe473befb92f4d616b0a92731f6
+SHA256 (biew-600-src.tar.bz2) = c0458715ef4e594c6d19c21c9f9008de03d57ad1261c5e0e8d30f396f9e2073e
+SIZE (biew-600-src.tar.bz2) = 745788
diff --git a/editors/biew/files/patch-biewlib_sysdep_generic_unix_keyboard.c b/editors/biew/files/patch-biewlib_sysdep_generic_unix_keyboard.c
deleted file mode 100644
index 2f387610bff0..000000000000
--- a/editors/biew/files/patch-biewlib_sysdep_generic_unix_keyboard.c
+++ /dev/null
@@ -1,22 +0,0 @@
---- biewlib/sysdep/generic/unix/keyboard.c.orig 2009-01-31 17:11:34.000000000 +0600
-+++ biewlib/sysdep/generic/unix/keyboard.c 2009-03-18 04:11:03.000000000 +0600
-@@ -59,6 +59,9 @@
- unsigned rawkb_mode=0;
- int rawkb_escape;
-
-+static void *nls_handle;
-+static int is_unicode=0;
-+
- #ifdef _VT100_
-
- #include <fcntl.h>
-@@ -75,9 +78,6 @@
- static int in_fd;
- static struct termios sattr;
-
--static void *nls_handle;
--static int is_unicode=0;
--
- typedef struct {
- char c;
- int key;
diff --git a/editors/biew/files/patch-biewlib_sysdep_generic_unix_vio.c b/editors/biew/files/patch-biewlib_sysdep_generic_unix_vio.c
deleted file mode 100644
index 688d260c3824..000000000000
--- a/editors/biew/files/patch-biewlib_sysdep_generic_unix_vio.c
+++ /dev/null
@@ -1,24 +0,0 @@
---- biewlib/sysdep/generic/unix/vio.c.orig 2009-01-31 17:08:22.000000000 +0600
-+++ biewlib/sysdep/generic/unix/vio.c 2009-03-18 04:11:42.000000000 +0600
-@@ -206,10 +206,6 @@
- static char *vtmp;
- static int out_fd;
- static int _color[8] = {0,4,2,6,1,5,3,7};
--static char *screen_cp;
--static unsigned is_unicode=0;
--
--static void *nls_handle;
-
- static unsigned char frames_vt100[0x30] =
- "aaaxuuukkuxkjjjkmvwtqnttmlvwtqnvvwwmmllnnjlaaaaa";
-@@ -242,6 +238,10 @@
-
- #endif /* _VT100_ */
-
-+static char *screen_cp;
-+static unsigned is_unicode=0;
-+static void *nls_handle;
-+
- static unsigned char frames_dumb[0x30] =
- ": %|{+++++|+++++`++}-++++++++-+++++++++++++#%[]~";
-