summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/biew/Makefile19
-rw-r--r--editors/biew/PLIST6
-rw-r--r--editors/biew/distinfo9
-rw-r--r--editors/biew/patches/patch-aa24
-rw-r--r--editors/biew/patches/patch-ab14
5 files changed, 31 insertions, 41 deletions
diff --git a/editors/biew/Makefile b/editors/biew/Makefile
index 65068702d0a..adbc8bf2b4a 100644
--- a/editors/biew/Makefile
+++ b/editors/biew/Makefile
@@ -1,19 +1,19 @@
-# $NetBSD: Makefile,v 1.7 2003/07/17 21:34:19 grant Exp $
+# $NetBSD: Makefile,v 1.8 2003/07/22 12:27:07 wiz Exp $
#
-DISTNAME= biew-520
-PKGNAME= biew-5.2.0
+DISTNAME= biew-550
+PKGNAME= biew-5.5.0
CATEGORIES= editors
-MASTER_SITES= ftp://biew.sourceforge.net/pub/biew/5.x/src/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=biew/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://biew.sourceforge.net/en/biew.html
COMMENT= Binary viewer/editor
-DEPENDS+= libslang-[0-9]*:../../devel/libslang
-
ONLY_FOR_PLATFORM= *-*-i386
+
+USE_BUILDLINK2= YES
USE_GMAKE= YES
MAKEFILE= makefile
@@ -22,8 +22,11 @@ do-install:
${INSTALL_DATA_DIR} ${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}/bin_rc/skn/assembly.skn ${PREFIX}/share/biew
+ ${INSTALL_DATA} ${WRKSRC}/bin_rc/skn/golded.skn ${PREFIX}/share/biew
+ ${INSTALL_DATA} ${WRKSRC}/bin_rc/skn/insight.skn ${PREFIX}/share/biew
+ ${INSTALL_DATA} ${WRKSRC}/bin_rc/skn/standard.skn ${PREFIX}/share/biew
${INSTALL_DATA} ${WRKSRC}/doc/biew_en.txt ${PREFIX}/share/doc/biew
+.include "../../devel/libslang/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/editors/biew/PLIST b/editors/biew/PLIST
index b99d42cc820..adcb0c4ccb9 100644
--- a/editors/biew/PLIST
+++ b/editors/biew/PLIST
@@ -1,8 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 21:22:38 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2003/07/22 12:27:07 wiz Exp $
bin/biew
share/biew/biew.hlp
-share/biew/standard.skn
share/biew/assembly.skn
+share/biew/golded.skn
+share/biew/insight.skn
+share/biew/standard.skn
@dirrm share/biew
share/doc/biew/biew_en.txt
@dirrm share/doc/biew
diff --git a/editors/biew/distinfo b/editors/biew/distinfo
index 3a8ad84bc7c..3584de1b58c 100644
--- a/editors/biew/distinfo
+++ b/editors/biew/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.2 2001/04/19 11:01:00 agc Exp $
+$NetBSD: distinfo,v 1.3 2003/07/22 12:27:07 wiz Exp $
-SHA1 (biew-520.tar.bz2) = e66dbf4b6c8aafc58a8c2fa8fe103fa334f671ac
-Size (biew-520.tar.bz2) = 424983 bytes
-SHA1 (patch-aa) = 78944dfaedfc6d7a7aaf7018acdf5a82a7647be1
-SHA1 (patch-ab) = 3620d7c14d4457db64aa463b852d6f51306b7ae0
+SHA1 (biew-550.tar.bz2) = d9a273ed82830a6825d58bf36fdd50560c99abc1
+Size (biew-550.tar.bz2) = 526883 bytes
+SHA1 (patch-aa) = 6a717b0bd36c39dbdc2e50f4536d28e40e876f88
diff --git a/editors/biew/patches/patch-aa b/editors/biew/patches/patch-aa
index a83d21bad0a..889b765c73c 100644
--- a/editors/biew/patches/patch-aa
+++ b/editors/biew/patches/patch-aa
@@ -1,26 +1,26 @@
-$NetBSD: patch-aa,v 1.2 2000/12/02 19:26:16 wiz Exp $
+$NetBSD: patch-aa,v 1.3 2003/07/22 12:27:08 wiz Exp $
---- makefile.orig Mon Oct 30 01:25:15 2000
+--- makefile.orig Sun Dec 30 18:05:47 2001
+++ makefile
-@@ -39,18 +39,18 @@
+@@ -59,18 +59,18 @@ TARGET_OS=unix
+ # Try it if you have problems with compilation due to assembler errors.
+ # Note that it is not the same as specifying TARGET_PLATFORM=generic.
#------------------------------------------------------------------------------
- # 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"'
++HOST_CFLAGS=-I${PREFIX}/include -D__int8_t_defined -DLIBDIR='"${PREFIX}/share"'
- # Please add any host specific linker flags here, if it need
+ # Please add any host specific linker flags here
#------------------------------------------------------------------------------
-HOST_LDFLAGS=
-+HOST_LDFLAGS= -L${PREFIX}/lib -R${PREFIX}/lib
++HOST_LDFLAGS=-L${PREFIX}/lib -Wl,-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:
+ # Here comes Unix-specific configuration, see unix.txt for details.
+ # Please select screen library, valid values are:
# vt100, slang, curses (default)
#--------------------------------------------------------------------------
--TARGET_SCREEN_LIB = curses
-+TARGET_SCREEN_LIB = slang
+-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
deleted file mode 100644
index 1e4b684f833..00000000000
--- a/editors/biew/patches/patch-ab
+++ /dev/null
@@ -1,14 +0,0 @@
-$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];