1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

- 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>
This commit is contained in:
Rong-En Fan 2009-01-24 16:23:39 +00:00
parent da286aa686
commit e33c73ae46
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=226799

View File

@ -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