summaryrefslogtreecommitdiff
path: root/mail/mutt/Makefile
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-09-24 15:30:36 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-09-24 15:30:36 +0000
commitb383e30e753450a2b894c5f034d1a16498feb876 (patch)
treef2452177a41fbf6ffcbdc67ad0090b1ec6e4513a /mail/mutt/Makefile
parento Use DOCSDIR and EXAMPLESDIR. (diff)
Utilize ${DOCSDIR} and ${EXAMPLESDIR}.
Approved by: Udo Schweigert <udo.schweigert@siemens.com> (maintainer)
Notes
Notes: svn path=/head/; revision=89246
Diffstat (limited to 'mail/mutt/Makefile')
-rw-r--r--mail/mutt/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index 0b6cbb2f60e8..2d302e58e05b 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -68,7 +68,7 @@ CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-pop --enable-imap --enable-flock --disable-fcntl \
--with-ssl=${OPENSSLBASE} --sysconfdir=${PREFIX}/etc \
--with-sharedir=${PREFIX}/share/mutt \
- --with-docdir=${PREFIX}/share/doc/mutt --with-charmaps \
+ --with-docdir=${DOCSDIR} --with-charmaps \
--with-libiconv-prefix=${PREFIX} \
--enable-compressed
.if defined(MUTT_CONFIGURE_ARGS)
@@ -130,14 +130,14 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/Muttrc ${PREFIX}/etc/Muttrc.dist
.if !defined(NOPORTDOCS)
@${ECHO} "===> Installing Mutt documentation"
- @${MKDIR} ${PREFIX}/share/doc/mutt && ${CHMOD} a+rx ${PREFIX}/share/doc/mutt
+ @${MKDIR} ${DOCSDIR} && ${CHMOD} a+rx ${DOCSDIR}
@cd ${WRKSRC}/doc ; ${INSTALL_MAN} manual.txt PGP-Notes.txt \
- ${PREFIX}/share/doc/mutt
+ ${DOCSDIR}
.if defined(WITH_SGML_DOCS) && ${WITH_SGML_DOCS} != "no"
${INSTALL} ${COPY} -o ${MANOWN} -g ${MANGRP} -m 0755 \
- -d ${PREFIX}/share/doc/mutt/html
- ${INSTALL_MAN} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/mutt/html
- ${INSTALL_MAN} ${WRKSRC}/doc/*.latin1 ${PREFIX}/share/doc/mutt
+ -d ${DOCSDIR}/html
+ ${INSTALL_MAN} ${WRKSRC}/doc/*.html ${DOCSDIR}/html
+ ${INSTALL_MAN} ${WRKSRC}/doc/*.latin1 ${DOCSDIR}
.endif
.endif