Index: head/editors/biew/Makefile =================================================================== --- head/editors/biew/Makefile (revision 31220) +++ head/editors/biew/Makefile (revision 31221) @@ -1,54 +1,59 @@ # New ports collection makefile for: biew # Date created: 04 February 2000 # Whom: Michael Vasilenko # # $FreeBSD$ # 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 -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 HOST_CFLAGS+= -D__FreeBSD_version=${OSVERSION} -I${LOCALBASE}/include 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) 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 Property changes on: head/editors/biew/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.7 \ No newline at end of property +1.8 \ No newline at end of property Index: head/editors/biew/distinfo =================================================================== --- head/editors/biew/distinfo (revision 31220) +++ head/editors/biew/distinfo (revision 31221) @@ -1 +1 @@ -MD5 (biew-510.tar.bz2) = 600b76da24e37dc1e023daba23d4dcfb +MD5 (biew-512.tar.bz2) = 1106c6bde9e4348f3572cb87cf6d4572 Property changes on: head/editors/biew/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/editors/biew/files/patch-aa =================================================================== --- head/editors/biew/files/patch-aa (revision 31220) +++ head/editors/biew/files/patch-aa (revision 31221) @@ -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 - #include +--- 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]; Property changes on: head/editors/biew/files/patch-aa ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property Index: head/editors/biew/files/patch-ac =================================================================== --- head/editors/biew/files/patch-ac (revision 31220) +++ head/editors/biew/files/patch-ac (revision 31221) @@ -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\ Property changes on: head/editors/biew/files/patch-ac ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/editors/biew/files/patch-ad =================================================================== --- head/editors/biew/files/patch-ad (revision 31220) +++ head/editors/biew/files/patch-ad (revision 31221) @@ -1,14 +1,14 @@ ---- 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_ +#if defined(__FreeBSD_version) && __FreeBSD_version < 400010 +#include +#else #include +#endif #define _bg(x) (((x) >> 4) & 7) #define _fg(x) ((x) & 7) #define _2cpair(x) (_bg(x) * 010 + _fg(x)) Property changes on: head/editors/biew/files/patch-ad ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/editors/biew/files/patch-ae =================================================================== --- head/editors/biew/files/patch-ae (revision 31220) +++ head/editors/biew/files/patch-ae (revision 31221) @@ -1,14 +1,14 @@ ---- 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 @@ #ifdef _CURSES_ +#if defined(__FreeBSD_version) && __FreeBSD_version < 400010 +#include +#else #include +#endif #define _2B(x) (((x) & 0xff) << 8) /* #define KE_ENTER _2B(KEY_ENTER) */ #define KE_BKSPACE _2B(KEY_BACKSPACE) Property changes on: head/editors/biew/files/patch-ae ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/editors/biew/files/patch-af =================================================================== --- head/editors/biew/files/patch-af (revision 31220) +++ head/editors/biew/files/patch-af (revision 31221) @@ -1,14 +1,14 @@ ---- 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_ +#if defined(__FreeBSD_version) && __FreeBSD_version < 400010 +#include +#else #include +#endif MEVENT me; #endif Property changes on: head/editors/biew/files/patch-af ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/editors/biew/pkg-plist =================================================================== --- head/editors/biew/pkg-plist (revision 31220) +++ head/editors/biew/pkg-plist (revision 31221) @@ -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 Property changes on: head/editors/biew/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property