Date: Sat, 12 Aug 2006 17:05:53 +0800 (CST) From: Gea-Suan Lin <gslin@gslin.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gslin@gslin.org, clsung@FreeBSD.org Subject: ports/101893: [PATCH] textproc/srilm: Respect DESTDIR, portlint fix Message-ID: <20060812090553.C26EF3AD@netnews.NCTU.edu.tw> Resent-Message-ID: <200608120910.k7C9AGI8091172@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101893 >Category: ports >Synopsis: [PATCH] textproc/srilm: 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 09:10: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 - Use MAN{1,3,5}PREFIX - portlint fix Port maintainer (clsung@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- srilm-1.4.6.patch begins here --- diff -ruN --exclude=CVS /usr/ports/textproc/srilm/Makefile /home/staff/gslin/work/ports/srilm/Makefile --- /usr/ports/textproc/srilm/Makefile Mon Jul 3 16:16:41 2006 +++ /home/staff/gslin/work/ports/srilm/Makefile Sat Aug 12 17:04:33 2006 @@ -18,11 +18,11 @@ DOWNLOAD_URL?= http://www.speech.sri.com/projects/srilm/download.html -USE_GMAKE= yes -MAKE_ENV+= SRILM=${WRKSRC} ALL_TARGET= World -ONLY_FOR_ARCHS= i386 +MAKE_ENV+= SRILM=${WRKSRC} NO_PACKAGE= not yet +ONLY_FOR_ARCHS= i386 +USE_GMAKE= yes PROGRAMS= ngram ngram-count ngram-merge ngram-class disambig anti-ngram \ nbest-lattice nbest-mix nbest-optimize nbest-pron-score \ @@ -64,8 +64,7 @@ .include <bsd.port.pre.mk> .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) -ECHO_MSG=/usr/bin/printf -IGNORE= because of license document, we suggest you fetch the source \ +IGNORE= because of license document, we suggest you fetch the source \ distribution\n\ manually. Please access ${DOWNLOAD_URL}\n\ , follow the download instructions, download the source\n\ @@ -88,14 +87,14 @@ do-install: @${MKDIR} ${EXAMPLESDIR} cd ${WRKSRC}/bin/freebsd && \ - ${INSTALL_PROGRAM} ${PROGRAMS} ${PREFIX}/bin && \ + ${INSTALL_PROGRAM} ${PROGRAMS} ${TARGETDIR}/bin && \ ${INSTALL_SCRIPT} ${GAWK_SCRIPTS} ${EXAMPLESDIR} && \ cd ${WRKSRC}/man/man1 && \ - ${INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1 && \ + ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1 && \ cd ${WRKSRC}/man/man3 && \ - ${INSTALL_MAN} ${MAN3} ${MANPREFIX}/man/man3 && \ + ${INSTALL_MAN} ${MAN3} ${MAN3PREFIX}/man/man3 && \ cd ${WRKSRC}/man/man5 && \ - ${INSTALL_MAN} ${MAN5} ${MANPREFIX}/man/man5 && \ + ${INSTALL_MAN} ${MAN5} ${MAN3PREFIX}/man/man5 && \ cd ${WRKSRC}/bin && \ ${INSTALL_SCRIPT} ${SCRIPTS} ${EXAMPLESDIR} diff -ruN --exclude=CVS /usr/ports/textproc/srilm/pkg-plist /home/staff/gslin/work/ports/srilm/pkg-plist --- /usr/ports/textproc/srilm/pkg-plist Mon Jul 19 23:01:45 2004 +++ /home/staff/gslin/work/ports/srilm/pkg-plist Sat Aug 12 17:00:02 2006 @@ -1,3 +1,4 @@ +@comment $FreeBSD$ bin/anti-ngram bin/disambig bin/hidden-ngram --- srilm-1.4.6.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?20060812090553.C26EF3AD>