aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-08-14 10:20:57 +0800
committerclsung <clsung@FreeBSD.org>2006-08-14 10:20:57 +0800
commitad47ca8a79f0cda3898cce3919bae1c3d028558b (patch)
treea1b49668b217166d02e81056e0d3a0cf2461d645
parente226259621a382b5375fd8686ec7a892803fec9c (diff)
downloadfreebsd-ports-graphics-ad47ca8a79f0cda3898cce3919bae1c3d028558b.tar.gz
freebsd-ports-graphics-ad47ca8a79f0cda3898cce3919bae1c3d028558b.tar.zst
freebsd-ports-graphics-ad47ca8a79f0cda3898cce3919bae1c3d028558b.zip
- Respect DESTDIR
- Use MAN{1,3,5}PREFIX - portlint fix PR: ports/101893 Submitted by: Gea-Suan Lin <gslin_AT_gslin dot org>
-rw-r--r--textproc/srilm/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/textproc/srilm/Makefile b/textproc/srilm/Makefile
index 6c85b07df4c..6c15f20b226 100644
--- a/textproc/srilm/Makefile
+++ b/textproc/srilm/Makefile
@@ -64,7 +64,6 @@ MAN5= ngram-format.5 nbest-format.5 classes-format.5 \
.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 \
distribution\n\
manually. Please access ${DOWNLOAD_URL}\n\
@@ -88,14 +87,14 @@ post-patch:
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} ${MAN5PREFIX}/man/man5 && \
cd ${WRKSRC}/bin && \
${INSTALL_SCRIPT} ${SCRIPTS} ${EXAMPLESDIR}