Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2000 11:05:34 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/20150: Update port: editors/biew to 5.1.2
Message-ID:  <20000724180534.4B27E37BD20@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         20150
>Category:       ports
>Synopsis:       Update port: editors/biew to 5.1.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 24 11:10:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.0-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 5.1.2

Remove file:
patches/patch-ag

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/editors/biew/Makefile editors/biew/Makefile
--- /usr/ports/editors/biew/Makefile	Thu Jun 15 01:20:23 2000
+++ editors/biew/Makefile	Tue Jul 25 00:28:48 2000
@@ -6,22 +6,24 @@
 #
 
 PORTNAME=	biew
-PORTVERSION=    5.1.0
+PORTVERSION=	5.1.2
 CATEGORIES=	editors
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
-DISTNAME=       ${PORTNAME}-510
+DISTNAME=	${PORTNAME}-512
 
 MAINTAINER=	ports@FreeBSD.org
 
 USE_BZIP2=	yes
 USE_GMAKE=	yes
 
+PORTDOCS=	biew_en.txt biew_ru.txt develop.en develop.ru file_ini.en \
+		file_ini.ru licence.en licence.ru release.txt unix.txt
+
 .include <bsd.port.pre.mk>
 
-HOST_CFLAGS=    ${CFLAGS}
-HOST_LD=        ${CC}
-MAKEFILE=       makefile
+HOST_CFLAGS=	${CFLAGS} -DLIBDIR="\'\"${PREFIX}/share\"\'"
+MAKEFILE=	makefile
 
 .if ${OSVERSION} < 400010
 LIB_DEPENDS=    ncurses.4:${PORTSDIR}/devel/ncurses
@@ -29,18 +31,14 @@
 HOST_LD+=       -L${LOCALBASE}/lib
 .endif
 
-MAKE_ARGS+=     HOST_CFLAGS="${HOST_CFLAGS}" LD="${HOST_LD}" \
+MAKE_ARGS+=	HOST_CFLAGS="${HOST_CFLAGS}" CC="${CC}" LD="${CC}" \
 		TARGET_OS=unix TARGET_SCREEN_LIB=curses \
 		USE_MOUSE=y
 
-post-patch:
-	@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" \
-		${WRKSRC}/lib/sysdep/generic/unix/os_dep.c
-
 post-build:
-	@ ${LN} -sf ../../lib ${WRKSRC}/tools/biewhlp/lib
+	@ ${LN} -sf ../../biewlib ${WRKSRC}/tools/biewhlp/biewlib
 	cd ${WRKSRC}/tools/biewhlp; ${GMAKE} ${MAKE_ARGS}
-	@ ${LN} -sf ../../lib ${WRKSRC}/tools/lzss/lib
+	@ ${LN} -sf ../../biewlib ${WRKSRC}/tools/lzss/biewlib
 	cd ${WRKSRC}/tools/lzss; ${GMAKE} ${MAKE_ARGS}
 	@ (cd ${WRKSRC}/hlp;${LN} -sf ../tools/biewhlp/biewhlp ./;\
 	${LN} -sf ../tools/lzss/lzss ./;./biewhlp biewhlp.prj)
@@ -48,7 +46,14 @@
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/biew ${PREFIX}/bin
 	@ ${MKDIR} ${PREFIX}/share/biew
-	${INSTALL_DATA} ${WRKSRC}/hlp/biew.hlp ${WRKSRC}/bin_rc/standard.skn \
-		${PREFIX}/share/biew
+.for file in bin_rc/assembly.skn bin_rc/standard.skn hlp/biew.hlp
+	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/biew
+.endfor
+.if !defined(NOPORTDOCS)
+	@ ${MKDIR} ${PREFIX}/share/doc/biew
+.for file in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/doc/${file} ${PREFIX}/share/doc/biew
+.endfor
+.endif
 
 .include <bsd.port.post.mk>
diff -urN /usr/ports/editors/biew/files/md5 editors/biew/files/md5
--- /usr/ports/editors/biew/files/md5	Fri Jun  9 21:05:03 2000
+++ editors/biew/files/md5	Mon Jul 24 22:55:19 2000
@@ -1 +1 @@
-MD5 (biew-510.tar.bz2) = 600b76da24e37dc1e023daba23d4dcfb
+MD5 (biew-512.tar.bz2) = 1106c6bde9e4348f3572cb87cf6d4572
diff -urN /usr/ports/editors/biew/patches/patch-aa editors/biew/patches/patch-aa
--- /usr/ports/editors/biew/patches/patch-aa	Fri Jun  9 21:05:03 2000
+++ editors/biew/patches/patch-aa	Mon Jul 24 23:01:28 2000
@@ -1,11 +1,12 @@
---- lib/sysdep/generic/unix/os_dep.c.orig	Fri Apr 14 15:02:21 2000
-+++ lib/sysdep/generic/unix/os_dep.c	Mon Apr 17 23:40:15 2000
-@@ -29,7 +29,7 @@
- #include <sys/types.h>
- #include <sys/stat.h>
+--- biewlib/sysdep/generic/unix/os_dep.c.orig	Thu Jul  6 14:31:08 2000
++++ biewlib/sysdep/generic/unix/os_dep.c	Mon Jul 24 23:00:55 2000
+@@ -26,7 +26,9 @@
+ #include "biewlib/biewlib.h"
+ #include "console.h"
  
--#define LIBDIR "/usr/lib"
-+#define LIBDIR "%%PREFIX%%/share"
++#ifndef LIBDIR
+ #define LIBDIR "/usr/lib"
++#endif
  
  static char _ini_name[FILENAME_MAX + 1];
  static char _rc_dir_name[FILENAME_MAX + 1];
diff -urN /usr/ports/editors/biew/patches/patch-ac editors/biew/patches/patch-ac
--- /usr/ports/editors/biew/patches/patch-ac	Fri Jun  9 21:05:04 2000
+++ editors/biew/patches/patch-ac	Tue Jul 25 00:30:11 2000
@@ -1,11 +1,20 @@
---- makefile.inc.orig	Fri Jun  2 21:01:36 2000
-+++ makefile.inc	Fri Jun  9 09:09:38 2000
-@@ -116,7 +116,7 @@
+--- makefile.inc.orig	Thu Jul  6 14:27:58 2000
++++ makefile.inc	Mon Jul 24 23:15:43 2000
+@@ -115,7 +115,7 @@
+ ifeq ($(TARGET_PLATFORM),i386)
   MACHINE=ia32
-  CDEFSYS=-D__BITNESS__=32 -D__MACHINE__=ia32 -D__CPU_NAME__='"i386"'\
-          -D__CPU__=386 -D__BYTE_ORDER__="__LITTLE_ENDIAN__"\
+  CDEFSYS=-D__MACHINE__=ia32 -D__CPU_NAME__='"i386"' -D__CPU__=386\
 -         -D__DEFAULT_DISASM=0 -m386 -fno-builtin
-+	 -D__DEFAULT_DISASM=0
++         -D__DEFAULT_DISASM=0
  endif
  ifeq ($(TARGET_PLATFORM),i486)
   MACHINE=ia32
+@@ -216,7 +216,7 @@
+ ifeq ($(compilation),debug)
+ CFLAGS += -g3 -p -ax -fcheck-memory-usage -fstack-check
+ else
+-CFLAGS += -O2 -fomit-frame-pointer -DNDEBUG=1
++CFLAGS += -fomit-frame-pointer -DNDEBUG=1
+ endif
+ adv_warn = -W -Winline -Wuninitialized -Wcast-align\
+  -Wswitch -Wshadow -Wbad-function-cast -Wmissing-noreturn -Wcast-qual\
diff -urN /usr/ports/editors/biew/patches/patch-ad editors/biew/patches/patch-ad
--- /usr/ports/editors/biew/patches/patch-ad	Mon Apr 24 18:56:16 2000
+++ editors/biew/patches/patch-ad	Mon Jul 24 23:05:11 2000
@@ -1,6 +1,6 @@
---- lib/sysdep/generic/unix/vio.c.orig	Fri Apr 14 15:02:21 2000
-+++ lib/sysdep/generic/unix/vio.c	Mon Apr 17 23:49:05 2000
-@@ -71,7 +71,11 @@
+--- biewlib/sysdep/generic/unix/vio.c.orig	Thu Jul  6 14:31:08 2000
++++ biewlib/sysdep/generic/unix/vio.c	Mon Jul 24 23:04:47 2000
+@@ -84,7 +84,11 @@
  #endif
  
  #ifdef	_CURSES_
diff -urN /usr/ports/editors/biew/patches/patch-ae editors/biew/patches/patch-ae
--- /usr/ports/editors/biew/patches/patch-ae	Mon Apr 24 18:56:16 2000
+++ editors/biew/patches/patch-ae	Mon Jul 24 23:05:50 2000
@@ -1,5 +1,5 @@
---- lib/sysdep/generic/unix/kbd_code.h.orig	Fri Apr 14 15:02:31 2000
-+++ lib/sysdep/generic/unix/kbd_code.h	Mon Apr 17 23:48:22 2000
+--- biewlib/sysdep/generic/unix/kbd_code.h.orig	Thu Jul  6 14:31:08 2000
++++ biewlib/sysdep/generic/unix/kbd_code.h	Mon Jul 24 23:05:25 2000
 @@ -78,7 +78,11 @@
  
  
diff -urN /usr/ports/editors/biew/patches/patch-af editors/biew/patches/patch-af
--- /usr/ports/editors/biew/patches/patch-af	Fri Jun  9 21:05:04 2000
+++ editors/biew/patches/patch-af	Mon Jul 24 23:06:41 2000
@@ -1,6 +1,6 @@
---- lib/sysdep/generic/unix/keyboard.c.orig	Fri Jun  2 21:01:12 2000
-+++ lib/sysdep/generic/unix/keyboard.c	Fri Jun  9 08:08:46 2000
-@@ -30,7 +30,11 @@
+--- biewlib/sysdep/generic/unix/keyboard.c.orig	Thu Jul  6 14:31:08 2000
++++ biewlib/sysdep/generic/unix/keyboard.c	Mon Jul 24 23:06:19 2000
+@@ -27,7 +27,11 @@
  #endif
  
  #ifdef	_CURSES_
diff -urN /usr/ports/editors/biew/patches/patch-ag editors/biew/patches/patch-ag
--- /usr/ports/editors/biew/patches/patch-ag	Fri Jun  9 14:56:12 2000
+++ editors/biew/patches/patch-ag	Thu Jan  1 09:00:00 1970
@@ -1,10 +0,0 @@
---- tools/biewhlp/makefile.bak	Fri Jun  2 21:01:36 2000
-+++ tools/biewhlp/makefile	Fri Jun  9 09:17:22 2000
-@@ -43,7 +43,6 @@
- ../../lib/bbio.o\
- ../../lib/biewlib.o\
- ../../lib/file_ini.o\
--../../lib/fiprogrs.o\
- ../../lib/pmalloc.o\
- ../../lib/sysdep/$(MACHINE)/$(HOST)/fileio.o
- all: $(TARGET)
diff -urN /usr/ports/editors/biew/pkg/PLIST editors/biew/pkg/PLIST
--- /usr/ports/editors/biew/pkg/PLIST	Fri Jun  9 21:05:05 2000
+++ editors/biew/pkg/PLIST	Tue Jul 25 00:23:17 2000
@@ -1,4 +1,16 @@
 bin/biew
 share/biew/biew.hlp
+share/biew/assembly.skn
 share/biew/standard.skn
+share/doc/biew/biew_en.txt
+share/doc/biew/biew_ru.txt
+share/doc/biew/develop.en
+share/doc/biew/develop.ru
+share/doc/biew/file_ini.en
+share/doc/biew/file_ini.ru
+share/doc/biew/licence.en
+share/doc/biew/licence.ru
+share/doc/biew/release.txt
+share/doc/biew/unix.txt
+@dirrm share/doc/biew
 @dirrm share/biew


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000724180534.4B27E37BD20>