Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 2002 17:58:05 +0400
From:      skv@FreeBSD.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/39659: add (DOCS|EXAMPLES|DATA)DIR to PLIST_SUB in bsd.port.mk
Message-ID:  <E17LlOv-000JQv-00@mail.3wgraphics.net>

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

>Number:         39659
>Category:       ports
>Synopsis:       add (DOCS|EXAMPLES|DATA)DIR to PLIST_SUB in bsd.port.mk
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 22 07:00:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Skvortsov
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
<Organization of PR author (multiple lines)>
>Environment:

	<Relevant environment information (multiple lines)>

>Description:

add (DOCS|EXAMPLES|DATA)DIR to PLIST_SUB in bsd.port.mk

>How-To-Repeat:

>Fix:

--- bsd.port.mk	Sat Jun 15 15:16:29 2002
+++ bsd.port.mk.new2	Sat Jun 22 17:53:55 2002
@@ -1782,6 +1782,11 @@
 EXAMPLESDIR?=	${PREFIX}/share/examples/${PORTNAME}
 DATADIR?=	${PREFIX}/share/${PORTNAME}
 
+PLIST_DIRS=	DOCSDIR="${DOCSDIR}" \
+		EXAMPLESDIR="${EXAMPLESDIR}" \
+		DATADIR="${DATADIR}"
+PLIST_SUB+=	${PLIST_DIRS:S,DIR="${PREFIX}/,DIR=",}
+
 .MAIN: all
 
 ################################################################
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E17LlOv-000JQv-00>