ports/101881: [PATCH] textproc/nltk: Respect DESTDIR, portlint fix
Gea-Suan Lin
gslin at gslin.org
Sat Aug 12 08:50:17 UTC 2006
>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 at 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}/, at dirrm ,' >> ${TMPPLIST}
+ ${SED} 's,^${TARGETDIR}/, at dirrmtry ,' >> ${TMPPLIST}
.include <bsd.port.post.mk>
--- nltk-1.4.4_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list