Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2008 01:00:14 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/125231: Update port: editors/le to 1.13.7
Message-ID:  <20080704010014.33eaa62b.tkato432@yahoo.com>
Resent-Message-ID: <200807031610.m63GA2TQ029110@freefall.freebsd.org>

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

>Number:         125231
>Category:       ports
>Synopsis:       Update port: editors/le to 1.13.7
>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:   Thu Jul 03 16:10:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 6.3-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 1.13.7

Remove file:
files/patch-configure
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/editors/le/Makefile editors/le/Makefile
--- /usr/ports/editors/le/Makefile	2008-06-24 22:55:54.000000000 +0900
+++ editors/le/Makefile	2008-07-04 00:38:58.000000000 +0900
@@ -6,26 +6,43 @@
 #
 
 PORTNAME=	le
-PORTVERSION=	1.13.4
+PORTVERSION=	1.13.7
 CATEGORIES=	editors
-MASTER_SITES=	${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR=	distfiles
+MASTER_SITES=	ftp://ftp.yar.ru/pub/source/le/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Text editor
+COMMENT=	Text editor with block and binary operations
 
+USE_BZIP2=	yes
+USE_GNOME=	gnometarget
 GNU_CONFIGURE=	yes
-CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV=	LIBS="-lgnuregex"
 
 MAN1=		le.1
 PORTDOCS=	FEATURES HISTORY NEWS README TODO
+PORTDATA=	colors-black colors-blue colors-defbg colors-green \
+		colors-white keymap-emacs le.hlp mainmenu mainmenu-ru syntax
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 502010
+GNU_REGEX_H=	gnu/regex.h
+.else
+GNU_REGEX_H=	gnuregex.h
+.endif
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|@LIBOBJS@||g ; \
+		 s|@ALLOCA@||g' ${WRKSRC}/lib/Makefile.in
+	@${REINPLACE_CMD} -e 's|<regex.h>|<${GNU_REGEX_H}>|g' \
+		${WRKSRC}/src/highli.h
 
 post-install:
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${DOCSDIR}
 .for file in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
 .endfor
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -urN /usr/ports/editors/le/distinfo editors/le/distinfo
--- /usr/ports/editors/le/distinfo	2006-12-10 14:18:56.000000000 +0900
+++ editors/le/distinfo	2008-06-26 01:14:20.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (le-1.13.4.tar.gz) = fd4d7450614f6ed501faa097e7c26439
-SHA256 (le-1.13.4.tar.gz) = 9542f3a86027ebc24cbf33a192c030299e1c97a5c17ab48a2a93570ec1cc8877
-SIZE (le-1.13.4.tar.gz) = 454587
+MD5 (le-1.13.7.tar.bz2) = f87cbb3e4c414de48bcba813dde65178
+SHA256 (le-1.13.7.tar.bz2) = 360e6a67625f2c2a6a68f828d90749696a77b640adbe7b71b14a9aa4641cb7ab
+SIZE (le-1.13.7.tar.bz2) = 375364
diff -urN /usr/ports/editors/le/files/patch-configure editors/le/files/patch-configure
--- /usr/ports/editors/le/files/patch-configure	2006-12-10 05:44:08.000000000 +0900
+++ editors/le/files/patch-configure	1970-01-01 09:00:00.000000000 +0900
@@ -1,12 +0,0 @@
---- configure.orig	Wed Nov 29 11:15:29 2006
-+++ configure	Sat Dec  9 23:38:58 2006
-@@ -750,7 +750,8 @@
- psdir='${docdir}'
- libdir='${exec_prefix}/lib'
- localedir='${datarootdir}/locale'
--mandir='${datarootdir}/man'
-+mandir='${prefix}/man'
-+
- 
- ac_prev=
- ac_dashdash=
diff -urN /usr/ports/editors/le/pkg-plist editors/le/pkg-plist
--- /usr/ports/editors/le/pkg-plist	2005-08-31 16:19:30.000000000 +0900
+++ editors/le/pkg-plist	1970-01-01 09:00:00.000000000 +0900
@@ -1,13 +0,0 @@
-@comment $FreeBSD: ports/editors/le/pkg-plist,v 1.12 2005/08/30 23:09:34 jylefort Exp $
-bin/le
-%%DATADIR%%/colors-black
-%%DATADIR%%/colors-blue
-%%DATADIR%%/colors-defbg
-%%DATADIR%%/colors-green
-%%DATADIR%%/colors-white
-%%DATADIR%%/keymap-emacs
-%%DATADIR%%/le.hlp
-%%DATADIR%%/mainmenu
-%%DATADIR%%/mainmenu-ru
-%%DATADIR%%/syntax
-@dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



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