Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2001 20:43:33 -0700 (PDT)
From:      Hye-Shik Chang <perky@python.or.kr>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/28904: bsd.port.mk: PLIST_SUB for DOCSDIR, DATADIR
Message-ID:  <200107120343.f6C3hXF59280@freefall.freebsd.org>

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

>Number:         28904
>Category:       ports
>Synopsis:       bsd.port.mk: PLIST_SUB for DOCSDIR, DATADIR
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 11 20:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Hye-Shik Chang
>Release:        FreeBSD 4.3
>Organization:
Yonsei University
>Environment:
FreeBSD perky.dnip.net 4.3-STABLE FreeBSD 4.3-STABLE #0: Tue Jul 10 19:54:27 KST 2001     root@perky.dnip.net:/usr/src/sys/compile/PERKY  i386
>Description:
I think this can make porters happy. :D

>How-To-Repeat:

>Fix:
--- bsd.port.mk.orig	Thu Jul 12 12:33:56 2001
+++ bsd.port.mk	Thu Jul 12 12:37:49 2001
@@ -1378,6 +1378,7 @@
 
 DOCSDIR?=	${PREFIX}/share/doc/${PORTNAME}
 DATADIR?=	${PREFIX}/share/${PORTNAME}
+PLIST_SUB+=	DOCSDIR=${DOCSDIR:S,${PREFIX}/,,} DATADIR=${DATADIR:S,${PREFIX}/,,}
 
 .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?200107120343.f6C3hXF59280>