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