aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-08-19 06:08:03 +0800
committermiwi <miwi@FreeBSD.org>2008-08-19 06:08:03 +0800
commit2f46b12f44ef811f68870aee9c080cfad5639a3d (patch)
tree36b223ef479059b52dc64e43f19483cd8fbd6a35 /editors
parent78e1372e37f38c1c01a605b91e032dbb90e9e868 (diff)
downloadfreebsd-ports-gnome-2f46b12f44ef811f68870aee9c080cfad5639a3d.tar.gz
freebsd-ports-gnome-2f46b12f44ef811f68870aee9c080cfad5639a3d.tar.zst
freebsd-ports-gnome-2f46b12f44ef811f68870aee9c080cfad5639a3d.zip
- Update to 1.13.8
PR: 126595 Submitted by: Ports Fury
Diffstat (limited to 'editors')
-rw-r--r--editors/le/Makefile41
-rw-r--r--editors/le/distinfo6
2 files changed, 30 insertions, 17 deletions
diff --git a/editors/le/Makefile b/editors/le/Makefile
index e3c9b995410e..3f97b8f7aa7d 100644
--- a/editors/le/Makefile
+++ b/editors/le/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= le
-PORTVERSION= 1.13.7
+PORTVERSION= 1.13.8
CATEGORIES= editors
MASTER_SITES= ftp://ftp.yar.ru/pub/source/le/
@@ -20,31 +20,44 @@ 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
+PORTDATA= ${MISC_DATA} ${SRC_DATA}
+PLIST_FILES= bin/le
+
+MISC_DATA= colors-black colors-blue colors-defbg colors-green \
+ colors-white keymap-emacs mainmenu mainmenu-ru syntax
+SRC_DATA= le.hlp
.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
-.if defined(NOPORTDATA)
- @${REINPLACE_CMD} -e 's|misc||g' \
- ${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e 's|le.hlp||g;468s|install-pkgdataDATA||' \
- ${WRKSRC}/src/Makefile.in
-.endif
+.for file in configure src/search.cc src/highli.h
+ @${REINPLACE_CMD} -e 's|<regex.h>|<${GNU_REGEX_H}>|g' ${WRKSRC}/${file}
+.endfor
-post-install:
+do-install:
+ cd ${WRKSRC}/src && ${INSTALL_PROGRAM} le ${PREFIX}/bin
+ cd ${WRKSRC}/doc && ${INSTALL_MAN} le.1 ${MANPREFIX}/man/man1
+.if !defined(NOPORTDATA)
+ @${MKDIR} ${DATADIR}
+.for file in ${MISC_DATA}
+ cd ${WRKSRC}/misc && ${INSTALL_DATA} ${file} ${DATADIR}
+.endfor
+.for file in ${SRC_DATA}
+ cd ${WRKSRC}/src && ${INSTALL_DATA} ${file} ${DATADIR}
+.endfor
+.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${file} ${DOCSDIR}
.endfor
.endif
diff --git a/editors/le/distinfo b/editors/le/distinfo
index 2b8db4244c7f..1ccf5be06f32 100644
--- a/editors/le/distinfo
+++ b/editors/le/distinfo
@@ -1,3 +1,3 @@
-MD5 (le-1.13.7.tar.bz2) = f87cbb3e4c414de48bcba813dde65178
-SHA256 (le-1.13.7.tar.bz2) = 360e6a67625f2c2a6a68f828d90749696a77b640adbe7b71b14a9aa4641cb7ab
-SIZE (le-1.13.7.tar.bz2) = 375364
+MD5 (le-1.13.8.tar.bz2) = b4bec66624d72c36d018727f1e8ade40
+SHA256 (le-1.13.8.tar.bz2) = 47bfbbaa45d9e03739c4b8757754353f787495d67014d85bc6f4ee43089c9377
+SIZE (le-1.13.8.tar.bz2) = 375772