Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2006 16:44:10 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org, clsung@FreeBSD.org
Subject:   ports/101881: [PATCH] textproc/nltk: Respect DESTDIR, portlint fix
Message-ID:  <20060812084410.5B64E372@netnews.NCTU.edu.tw>
Resent-Message-ID: <200608120850.k7C8oFw1089200@freefall.freebsd.org>

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

>Number:         101881
>Category:       ports
>Synopsis:       [PATCH] textproc/nltk: Respect DESTDIR, portlint fix
>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
- portlint fix
- @dirrmtry

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

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

--- nltk-1.4.4_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/textproc/nltk/Makefile /home/staff/gslin/work/ports/nltk/Makefile
--- /usr/ports/textproc/nltk/Makefile	Wed Oct  5 14:58:28 2005
+++ /home/staff/gslin/work/ports/nltk/Makefile	Sat Aug 12 16:43:29 2006
@@ -8,6 +8,7 @@
 
 PORTNAME=	nltk
 PORTVERSION=	1.4.4
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -22,13 +23,13 @@
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "alpha" && ${OSVERSION} < 500000
-BROKEN=		"Coredump during build on alpha 4.x"
+BROKEN=		Coredump during build on alpha 4.x
 .endif
 
 post-install:
 	@${FIND} ${PYTHON_SITELIBDIR}/nltk ! -type d | \
-		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+		${SED} 's,^${TARGETDIR}/,,' >> ${TMPPLIST}
 	@${FIND} ${PYTHON_SITELIBDIR}/nltk -type d | ${SORT} -r | \
-		${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+		${SED} 's,^${TARGETDIR}/,@dirrmtry ,' >> ${TMPPLIST}
 
 .include <bsd.port.post.mk>
--- nltk-1.4.4_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?20060812084410.5B64E372>