diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-10-26 13:19:29 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-10-26 13:19:29 +0000 |
commit | 97c64f81d609ded6862558f78e7ebd15d3974fad (patch) | |
tree | cf8b75a55be1f17f64bf9786b244085a17be4e59 /mail/mutt/Makefile | |
parent | - Fix the DOCSDIR and EXAMPLESDIR code. Now both can be set to (diff) |
- Fix the DOCSDIR and EXAMPLESDIR code. Now both can be
set to non-standard values.
- Striping of binaries is no longer needed (it's done by install -s).
- Be less verbose.
PR: 58558
Submitted by: Udo Schweigert <udo.schweigert@siemens.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=92200
Diffstat (limited to 'mail/mutt/Makefile')
-rw-r--r-- | mail/mutt/Makefile | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile index 2d302e58e05b..1b411e6a6327 100644 --- a/mail/mutt/Makefile +++ b/mail/mutt/Makefile @@ -92,6 +92,8 @@ MAN5= mbox.5 muttrc.5 post-patch:: @${REINPLACE_CMD} -e 's,/usr/bin/gpg,${LOCALBASE}/bin/gpg,g' \ ${WRKSRC}/contrib/gpg.rc + @${REINPLACE_CMD} -E -e 's|@samplesdir@|${EXAMPLESDIR}|g' \ + ${WRKSRC}/contrib/Makefile.in .if defined(WITH_MUTT_XFACE) post-patch:: @@ -105,7 +107,7 @@ post-patch:: # this should be done automagically by aclocal but .... # for now, this will have to do pre-build: - ${REINPLACE_CMD} -E -e "s|^(ACLOCAL = ).+|\1${ACLOCAL}|" \ + @${REINPLACE_CMD} -E -e "s|^(ACLOCAL = ).+|\1${ACLOCAL}|" \ -e "s|^(AUTOCONF = ).+|\1${AUTOCONF}|" \ -e "s|^(AUTOMAKE = ).+|\1${AUTOMAKE}|" \ -e "s|^(AUTOHEADER = ).+|\1${AUTOHEADER}|" \ @@ -113,10 +115,16 @@ pre-build: .if !defined(NOPORTDOCS) post-build: - ${TOUCH} ${WRKSRC}/doc/mutt.man ${WRKSRC}/doc/manual.sgml - ${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-doc-ref - printf ",s|\$${PREFIX}|%s|g\nw\nq\n" ${PREFIX} | \ - ed -s ${WRKSRC}/doc/mutt.man + @${TOUCH} ${WRKSRC}/doc/mutt.man ${WRKSRC}/doc/manual.sgml + @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-doc-ref + @${REINPLACE_CMD} -E -e 's|\$$\{PREFIX\}|${PREFIX}|g' \ + -e 's|\$$\{DOCSDIR\}|${DOCSDIR}|g' \ + -e 's|\$$\{EXAMPLESDIR\}|${EXAMPLESDIR}|g' \ + ${WRKSRC}/doc/mutt.man + @${REINPLACE_CMD} -E -e 's|\$$\{PREFIX\}|${PREFIX}|g' \ + -e 's|\$$\{DOCSDIR\}|${DOCSDIR}|g' \ + -e 's|\$$\{EXAMPLESDIR\}|${EXAMPLESDIR}|g' \ + ${WRKSRC}/doc/muttrc.man .if defined(WITH_SGML_DOCS) && ${WITH_SGML_DOCS} != "no" PLIST:= ${WRKDIR}/PLIST pre-install: @@ -126,7 +134,6 @@ pre-install: .endif post-install: - @${STRIP_CMD} ${PREFIX}/bin/mutt ${INSTALL_DATA} ${WRKSRC}/Muttrc ${PREFIX}/etc/Muttrc.dist .if !defined(NOPORTDOCS) @${ECHO} "===> Installing Mutt documentation" |