aboutsummaryrefslogtreecommitdiff
path: root/editors/le
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2009-01-24 16:23:39 +0000
committerRong-En Fan <rafan@FreeBSD.org>2009-01-24 16:23:39 +0000
commite33c73ae46521f794bd1c791e1ce85316ee5f532 (patch)
treea3ee212fe8cd625bda7b5db1f6ea2da3bfff96d3 /editors/le
parentda286aa686ccbf14f1b3130617bda73d3a5247ed (diff)
downloadports-e33c73ae46521f794bd1c791e1ce85316ee5f532.tar.gz
ports-e33c73ae46521f794bd1c791e1ce85316ee5f532.zip
- 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 <simon at comsys.ntu-kpi.kiev.ua>
Notes
Notes: svn path=/head/; revision=226799
Diffstat (limited to 'editors/le')
-rw-r--r--editors/le/Makefile8
1 files 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