ports/126595: Update port: editors/le to 1.13.8

KATO Tsuguru tkato432 at yahoo.com
Sun Aug 17 17:10:02 UTC 2008


>Number:         126595
>Category:       ports
>Synopsis:       Update port: editors/le to 1.13.8
>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:   Sun Aug 17 17:10:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.0-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 1.13.8

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/editors/le/Makefile editors/le/Makefile
--- /usr/ports/editors/le/Makefile	2008-07-04 15:36:54.000000000 +0900
+++ editors/le/Makefile	2008-08-14 16:39:23.000000000 +0900
@@ -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 @@
 
 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 -urN /usr/ports/editors/le/distinfo editors/le/distinfo
--- /usr/ports/editors/le/distinfo	2008-07-04 15:36:54.000000000 +0900
+++ editors/le/distinfo	2008-08-12 16:49:18.000000000 +0900
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list