Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2006 18:06:22 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org, liu_yinghong@yahoo.com.cn
Subject:   ports/101910: [PATCH] chinese/vim-scdoc: Respect DESTDIR
Message-ID:  <20060812100622.53B2F3AD@netnews.NCTU.edu.tw>
Resent-Message-ID: <200608121010.k7CAAEjl098881@freefall.freebsd.org>

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

>Number:         101910
>Category:       ports
>Synopsis:       [PATCH] chinese/vim-scdoc: Respect DESTDIR
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 12 10:10:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
- Respect DESTDIR

Port maintainer (liu_yinghong@yahoo.com.cn) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- vim-scdoc-0.8.0_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/chinese/vim-scdoc/Makefile /home/staff/gslin/work/ports/vim-scdoc/Makefile
--- /usr/ports/chinese/vim-scdoc/Makefile	Sat Apr 29 21:40:39 2006
+++ /home/staff/gslin/work/ports/vim-scdoc/Makefile	Sat Aug 12 18:05:47 2006
@@ -20,7 +20,7 @@
 
 PLIST_SUB=	PATH_SUB=vim64
 NO_BUILD=	yes
-VIM_PATH=	${PREFIX}/share/vim/vim64
+VIM_PATH=	${TARGETDIR}/share/vim/vim64
 VIM_DOCS_PATH=	${VIM_PATH}/doc.zh_CN
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
@@ -34,7 +34,7 @@
 .endfor
 
 post-install:
-	@${SED} "s|%%PREFIX%%|${PREFIX}|g" \
+	@${SED} "s|%%PREFIX%%|${TARGETDIR}|g" \
 		${.CURDIR}/pkg-message > ${PKGMESSAGE}
 	@${CAT} ${PKGMESSAGE}
 
diff -ruN --exclude=CVS /usr/ports/chinese/vim-scdoc/pkg-plist /home/staff/gslin/work/ports/vim-scdoc/pkg-plist
--- /usr/ports/chinese/vim-scdoc/pkg-plist	Mon Sep 26 06:42:30 2005
+++ /home/staff/gslin/work/ports/vim-scdoc/pkg-plist	Sat Aug 12 18:05:56 2006
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
 share/vim/%%PATH_SUB%%/doc.zh_CN/AUTHORS
 share/vim/%%PATH_SUB%%/doc.zh_CN/ChangeLog
 share/vim/%%PATH_SUB%%/doc.zh_CN/INSTALL
--- vim-scdoc-0.8.0_1.patch ends here ---

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



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