ports/101940: [PATCH] chinese/srecite: Respect DESTDIR

Gea-Suan Lin gslin at gslin.org
Sat Aug 12 19:20:20 UTC 2006


>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 at 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:



More information about the freebsd-ports-bugs mailing list