ports/94494: Update port: editors/fte to 20051115
KATO Tsuguru
tkato432 at yahoo.com
Wed Mar 15 18:10:33 UTC 2006
>Number: 94494
>Category: ports
>Synopsis: Update port: editors/fte to 20051115
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 15 18:10:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.11-RELEASE-p15 i386
>Organization:
>Environment:
>Description:
- Update to version 20051115
Remove file:
files/patch-aa
files/patch-ba
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/editors/fte/Makefile editors/fte/Makefile
--- /usr/ports/editors/fte/Makefile Wed Jul 13 13:24:02 2005
+++ editors/fte/Makefile Wed Mar 15 22:29:11 2006
@@ -5,21 +5,31 @@
# $FreeBSD: ports/editors/fte/Makefile,v 1.10 2005/07/12 13:06:47 pav Exp $
#
-PORTNAME= fte
-PORTVERSION= 20050108
-CATEGORIES= editors
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+PORTNAME= fte
+PORTVERSION= 20051115
+CATEGORIES= editors
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTFILES= ${PORTNAME}-${PORTVERSION:S/./b/}-src.zip \
- ${PORTNAME}-${PORTVERSION:S/./b/}-common.zip
+DISTFILES= ${PORTNAME}-${PORTVERSION}-src.zip \
+ ${PORTNAME}-${PORTVERSION}-common.zip
-MAINTAINER= ports at FreeBSD.org
-COMMENT= A full-featured text editor for X11
+MAINTAINER= ports at FreeBSD.org
+COMMENT= A full-featured text editor for X11
-WRKSRC= ${WRKDIR}/fte
+WRKSRC= ${WRKDIR}/${PORTNAME}
-USE_XLIB= yes
-USE_ZIP= yes
+USE_ZIP= yes
+USE_XPM= yes
USE_PERL5_BUILD= yes
+USE_GMAKE= yes
+MAKE_ARGS= MAKE="${GMAKE}" PREFIX="${PREFIX}" TARGETS="xfte" \
+ CC="${CXX}" LD="${CXX}" UOS="-D${OPSYS:U}" \
+ XINCDIR="-I${X11BASE}/include" XLIBDIR="-L${X11BASE}/lib" \
+ OPTIMIZE="${CXXFLAGS}" VLIBS="-lncurses"
+
+post-patch:
+.for file in src/fte.cpp src/g_motif.cpp src/sysdep.h
+ @${REINPLACE_CMD} -e 's|LINUX|${OPSYS:U}|g' ${WRKSRC}/${file}
+.endfor
.include <bsd.port.mk>
diff -urN /usr/ports/editors/fte/distinfo editors/fte/distinfo
--- /usr/ports/editors/fte/distinfo Thu Nov 24 16:04:40 2005
+++ editors/fte/distinfo Wed Mar 15 22:12:48 2006
@@ -1,6 +1,6 @@
-MD5 (fte-20050108-src.zip) = 910ef0041d5d56ede596fc6eb90c1f11
-SHA256 (fte-20050108-src.zip) = 57b3b883cba32663a5380c9a3f4c48d61319857f319833849ef210467a0bcbde
-SIZE (fte-20050108-src.zip) = 545246
-MD5 (fte-20050108-common.zip) = 200d22e821e550148c0494b54d7dfd25
-SHA256 (fte-20050108-common.zip) = 8350045541a36df625d5615f14f9febb3614624b2e6a4f7e776a93f7e4d55921
-SIZE (fte-20050108-common.zip) = 186252
+MD5 (fte-20051115-src.zip) = 01ca652803cea52a8321067adf159053
+SHA256 (fte-20051115-src.zip) = bb4135e5c39223fa346d20613052e69090b14ed46855d5134bf2dbc4ba40d962
+SIZE (fte-20051115-src.zip) = 549216
+MD5 (fte-20051115-common.zip) = fcbee61dfde33ba9aed59863c34b64c0
+SHA256 (fte-20051115-common.zip) = 794031dd1d06156259d21ddcb3dec3196001818ea7116e9786b54314484dabf4
+SIZE (fte-20051115-common.zip) = 187849
diff -urN /usr/ports/editors/fte/files/patch-aa editors/fte/files/patch-aa
--- /usr/ports/editors/fte/files/patch-aa Wed Jul 13 13:24:03 2005
+++ editors/fte/files/patch-aa Thu Jan 1 09:00:00 1970
@@ -1,73 +0,0 @@
---- src/fte-unix.mak.orig Sat Jan 8 21:15:19 2005
-+++ src/fte-unix.mak Mon Jul 11 19:47:52 2005
-@@ -5,9 +5,9 @@
-
- # vfte - for Linux console directly (with limitations, see con_linux.cpp)
-
--TARGETS = xfte vfte nfte
-+#TARGETS = xfte vfte nfte
- #TARGETS = xfte vfte sfte nfte
--#TARGETS = xfte
-+TARGETS = xfte
-
- PRIMARY = xfte
-
-@@ -36,22 +36,21 @@
-
- #gcc/g++
- COPTIONS = -Wall -Wpointer-arith -Wconversion -Wwrite-strings \
-- -Winline
-+ -Winline -fno-rtti -fno-exceptions
-
- #CC = g++
- #LD = g++
- # try this for smaller/faster code and less dependencies
--CC = g++ -fno-rtti -fno-exceptions
--LD = g++ -fno-rtti -fno-exceptions
--
-+CC = $(CXX)
-+LD = $(CXX)
-
- # choose your os here
-
- #######################################################################
- # Linux
--UOS = -DLINUX
--XINCDIR = -I/usr/X11R6/include
--XLIBDIR = -L/usr/X11R6/lib -lstdc++
-+UOS = -DFREEBSD
-+XINCDIR = -I$(X11BASE)/include
-+XLIBDIR = -L$(X11BASE)/lib
-
- #######################################################################
- # HP/UX
-@@ -141,8 +140,8 @@
- #OPTIMIZE = -O2
- #OPTIMIZE = -O2 -s
-
--CCFLAGS = $(OPTIMIZE) $(I18NOPTIONS) $(APPOPTIONS) $(COPTIONS) -DUNIX $(UOS) $(INCDIR) $(XINCDIR) $(QINCDIR) $(MINCDIR) $(SINCDIR)
--LDFLAGS = $(OPTIMIZE) $(LIBDIR) $(XLIBDIR) $(QLIBDIR) $(MLIBDIR)
-+CCFLAGS = $(CPPFLAGS) $(CXXFLAGS) $(CFLAGS) $(I18NOPTIONS) $(APPOPTIONS) $(COPTIONS) -DUNIX $(UOS) $(INCDIR) $(XINCDIR) $(QINCDIR) $(MINCDIR) $(SINCDIR)
-+LDFLAGS += $(LIBDIR) $(XLIBDIR) $(MLIBDIR)
-
- OEXT = o
-
-@@ -154,7 +153,7 @@
- # Need -lXt below if USE_XTINIT is defined
- XLIBS = -lX11 $(SOCKETLIB)
- #-lmpatrol -lelf
--VLIBS = -lgpm -lncurses
-+VLIBS = -lncurses
- # -ltermcap outdated by ncurses
- NLIBS = -lncurses
- SLIBS = -lslang
-@@ -227,6 +226,6 @@
- #
- # include dependency files if they exist
- #
--ifneq ($(wildcard .depend),)
--include .depend
--endif
-+#ifneq ($(wildcard .depend),)
-+#include .depend
-+#endif
diff -urN /usr/ports/editors/fte/files/patch-ba editors/fte/files/patch-ba
--- /usr/ports/editors/fte/files/patch-ba Mon Nov 17 12:05:57 2003
+++ editors/fte/files/patch-ba Thu Jan 1 09:00:00 1970
@@ -1,10 +0,0 @@
---- src/sysdep.h.orig Sun Apr 13 14:43:59 2003
-+++ src/sysdep.h Sun Apr 13 13:54:17 2003
-@@ -38,6 +38,7 @@
- !defined(IRIX) && \
- !defined(SCO) && \
- !defined(SUNOS) && \
-+ !defined(FREEBSD) && \
- !defined(NCR)
- # error Target not supported.
- #endif
diff -urN /usr/ports/editors/fte/pkg-plist editors/fte/pkg-plist
--- /usr/ports/editors/fte/pkg-plist Wed Jul 13 13:24:03 2005
+++ editors/fte/pkg-plist Wed Mar 15 22:33:52 2006
@@ -67,8 +67,10 @@
lib/fte/config/pal_b_kb.fte
lib/fte/config/pal_base.fte
lib/fte/config/pal_blk.fte
+lib/fte/config/pal_bluez.fte
lib/fte/config/pal_gray.fte
lib/fte/config/pal_wht.fte
+lib/fte/config/rgbcolor.fte
lib/fte/config/slang/simple.keylist
lib/fte/config/slang/slangkbd.map
lib/fte/config/ui_brief.fte
@@ -94,9 +96,9 @@
lib/fte/config/ui_k_joe.fte
lib/fte/localconfig/systemmain.fte
lib/fte/system.fterc
- at dirrm lib/fte/config/kbd
- at dirrm lib/fte/config/menu
+ at dirrm lib/fte/localconfig
@dirrm lib/fte/config/slang
+ at dirrm lib/fte/config/menu
+ at dirrm lib/fte/config/kbd
@dirrm lib/fte/config
- at dirrm lib/fte/localconfig
@dirrm lib/fte
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list