Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2006 16:45:16 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org, clsung@FreeBSD.org
Subject:   ports/101882: [PATCH] textproc/nltk_lite: Respect DESTDIR, use @dirrmtry
Message-ID:  <20060812084516.DE6E2372@netnews.NCTU.edu.tw>
Resent-Message-ID: <200608120850.k7C8oFi0089253@freefall.freebsd.org>

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

>Number:         101882
>Category:       ports
>Synopsis:       [PATCH] textproc/nltk_lite: Respect DESTDIR, use @dirrmtry
>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 08:50:15 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
- @dirrmtry

Port maintainer (clsung@FreeBSD.org) is cc'd.

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

--- nltk_lite-0.6.5_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/textproc/nltk_lite/Makefile /home/staff/gslin/work/ports/nltk_lite/Makefile
--- /usr/ports/textproc/nltk_lite/Makefile	Mon Jul 17 09:22:15 2006
+++ /home/staff/gslin/work/ports/nltk_lite/Makefile	Sat Aug 12 16:44:40 2006
@@ -8,6 +8,7 @@
 
 PORTNAME=	nltk_lite
 PORTVERSION=	0.6.5
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME:C/_.*//}
@@ -23,8 +24,8 @@
 
 post-install:
 	@${FIND} ${PYTHON_SITELIBDIR}/nltk_lite ! -type d | \
-		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+		${SED} 's,^${TARGETDIR}/,,' >> ${TMPPLIST}
 	@${FIND} ${PYTHON_SITELIBDIR}/nltk_lite -type d | ${SORT} -r | \
-		${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+		${SED} 's,^${TARGETDIR}/,@dirrmtry ,' >> ${TMPPLIST}
 
 .include <bsd.port.post.mk>
--- nltk_lite-0.6.5_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?20060812084516.DE6E2372>