Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jan 2009 14:51:24 +0200
From:      Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/130943: editors/le does not install all needed files
Message-ID:  <20090124125124.GA60744@pm513-1.comsys.ntu-kpi.kiev.ua>
Resent-Message-ID: <200901241320.n0ODK1uG084421@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         130943
>Category:       ports
>Synopsis:       editors/le does not install all needed files
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 24 13:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Simonenko
>Release:        FreeBSD 7.1-STABLE amd64
>Organization:
>Environment:
>Description:

le-1.14.0 needs share/le/syntax.d directory with files.

Changes:

- Add PORTREVISION

- Add syntax.d do MISC_DATA

- Remove mkdir for DATADIR and .for for all file names from MISC_DATA,
  instead use le/misc/Makefile for installing all needed files.

>How-To-Repeat:

Install editors/le and try to edit .c file, check colors in the editor.

>Fix:
--- Makefile.orig	2009-01-14 14:10:09.000000000 +0200
+++ Makefile	2009-01-24 14:26:51.000000000 +0200
@@ -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 @@
 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


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090124125124.GA60744>