aboutsummaryrefslogtreecommitdiffstats
path: root/editors/le
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2008-07-04 02:52:33 +0800
committergahr <gahr@FreeBSD.org>2008-07-04 02:52:33 +0800
commit3b880cc57927a4d5cc3d18bf5a3dfd1811f1a1de (patch)
tree59280b15cbffd10e67886e16686b93d315a861c0 /editors/le
parentb4f4b7ea4a020e02e870506c6a2648a2ea0ecf5e (diff)
downloadfreebsd-ports-gnome-3b880cc57927a4d5cc3d18bf5a3dfd1811f1a1de.tar.gz
freebsd-ports-gnome-3b880cc57927a4d5cc3d18bf5a3dfd1811f1a1de.tar.zst
freebsd-ports-gnome-3b880cc57927a4d5cc3d18bf5a3dfd1811f1a1de.zip
- Update to 1.13.7
PR: 125231 Submitted by: Ports Fury
Diffstat (limited to 'editors/le')
-rw-r--r--editors/le/Makefile32
-rw-r--r--editors/le/distinfo6
-rw-r--r--editors/le/files/patch-configure12
-rw-r--r--editors/le/pkg-plist13
4 files changed, 28 insertions, 35 deletions
diff --git a/editors/le/Makefile b/editors/le/Makefile
index 765268e5c165..7cd36623aca3 100644
--- a/editors/le/Makefile
+++ b/editors/le/Makefile
@@ -6,26 +6,44 @@
#
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
+PLIST_FILES+= bin/le
+
+.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 --git a/editors/le/distinfo b/editors/le/distinfo
index ff72604c7424..2b8db4244c7f 100644
--- a/editors/le/distinfo
+++ b/editors/le/distinfo
@@ -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 --git a/editors/le/files/patch-configure b/editors/le/files/patch-configure
deleted file mode 100644
index fd7e434ed67c..000000000000
--- a/editors/le/files/patch-configure
+++ /dev/null
@@ -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 --git a/editors/le/pkg-plist b/editors/le/pkg-plist
deleted file mode 100644
index a2c565ce1c35..000000000000
--- a/editors/le/pkg-plist
+++ /dev/null
@@ -1,13 +0,0 @@
-@comment $FreeBSD$
-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%%