From e33c73ae46521f794bd1c791e1ce85316ee5f532 Mon Sep 17 00:00:00 2001 From: Rong-En Fan Date: Sat, 24 Jan 2009 16:23:39 +0000 Subject: [PATCH] - This port needs files under DATADIR/syntax.d to do correct syntax highlight. Make this happen by using distributor's Makefile to install files. - Bump PORTREVISION PR: ports/130943 Submitted by: Andrey Simonenko --- editors/le/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/editors/le/Makefile b/editors/le/Makefile index 30f945b351ce..09152451f519 100644 --- a/editors/le/Makefile +++ b/editors/le/Makefile @@ -7,6 +7,7 @@ PORTNAME= le PORTVERSION= 1.14.0 +PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= ftp://ftp.yar.ru/pub/source/le/%SUBDIR%/ MASTER_SITE_SUBDIR= . old @@ -23,17 +24,14 @@ 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 + colors-white keymap-emacs mainmenu mainmenu-ru syntax syntax.d SRC_DATA= le.hlp 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 + cd ${WRKSRC}/misc && ${MAKE} install .for file in ${SRC_DATA} cd ${WRKSRC}/src && ${INSTALL_DATA} ${file} ${DATADIR} .endfor