aboutsummaryrefslogtreecommitdiff
path: root/editors/le
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-08-18 22:08:03 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-08-18 22:08:03 +0000
commite3e346483287c228527271050f3fd08dc73dd3e8 (patch)
treedc06865371baac474a594120f7c1535371ab3fac /editors/le
parent7e265d451d03b51e81b3218abef6c9a78376e65c (diff)
downloadports-e3e346483287c228527271050f3fd08dc73dd3e8.tar.gz
ports-e3e346483287c228527271050f3fd08dc73dd3e8.zip
- Update to 1.13.8
PR: 126595 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=218794
Diffstat (limited to 'editors/le')
-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