aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2009-01-25 00:23:39 +0800
committerrafan <rafan@FreeBSD.org>2009-01-25 00:23:39 +0800
commitcf494fc0ed8418edc16669806ded9d9e001656e3 (patch)
treea34af3a2a4bec22471b02cf986d2b5ba6aa153a5
parentf3801af42146f3592d286a4a70d3b2d13923d417 (diff)
downloadfreebsd-ports-gnome-cf494fc0ed8418edc16669806ded9d9e001656e3.tar.gz
freebsd-ports-gnome-cf494fc0ed8418edc16669806ded9d9e001656e3.tar.zst
freebsd-ports-gnome-cf494fc0ed8418edc16669806ded9d9e001656e3.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>
-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