Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 2006 03:11:54 +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/101940: [PATCH] chinese/srecite: Respect DESTDIR
Message-ID:  <20060812191154.55646372@netnews.NCTU.edu.tw>
Resent-Message-ID: <200608121920.k7CJKIUw047939@freefall.freebsd.org>

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

>Number:         101940
>Category:       ports
>Synopsis:       [PATCH] chinese/srecite: 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 19:20:18 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:

--- srecite-0.6.2_3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/chinese/srecite/Makefile /home/staff/gslin/work/ports/srecite/Makefile
--- /usr/ports/chinese/srecite/Makefile	Thu May  4 07:38:33 2006
+++ /home/staff/gslin/work/ports/srecite/Makefile	Sun Aug 13 03:11:25 2006
@@ -26,10 +26,10 @@
 USE_X_PREFIX=	yes
 USE_GNOME=	gnomehack gnomeprefix libgnomeui
 
-WORDBOOKS_PATH=	${PREFIX}/share/gnome/${PORTNAME}/wordbooks
+WORDBOOKS_PATH=	${TARGETDIR}/share/gnome/${PORTNAME}/wordbooks
 
 post-install:
 	cd ${WRKDIR}/wordbooks && ${INSTALL_DATA} * ${WORDBOOKS_PATH}
-	${INSTALL_DATA} ${FILESDIR}/srecite.desktop ${PREFIX}/share/gnome/applications
+	${INSTALL_DATA} ${FILESDIR}/srecite.desktop ${TARGETDIR}/share/gnome/applications
 
 .include <bsd.port.mk>
--- srecite-0.6.2_3.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?20060812191154.55646372>