diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2002-01-28 14:50:37 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2002-01-28 14:50:37 +0000 |
commit | d4a76c256e91e0edfb6faf1a24af78352205dc36 (patch) | |
tree | 2a88b3567019cecae4b2cbcd904c4f17d1da9af8 | |
parent | upgrade to 1.0.5 (diff) |
- Use the latest patches from www.mutt.org.ua.
- Make the dependency on sgmlformat configurable by the new knob
WITHOUT_MUTT_SGMLFORMAT (requested by Neil Darlow <neil@darlow.co.uk>)
PR: 34369
Submitted by: Udo Schweigert <udo.schweigert@siemens.com>
-rw-r--r-- | mail/mutt-devel/Makefile | 28 | ||||
-rw-r--r-- | mail/mutt-devel/distinfo | 10 | ||||
-rw-r--r-- | mail/mutt-devel/pkg-plist | 2 |
3 files changed, 31 insertions, 9 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile index 0c60cb62be4d..5b4e9909e303 100644 --- a/mail/mutt-devel/Makefile +++ b/mail/mutt-devel/Makefile @@ -21,6 +21,11 @@ # If you want to install the mutt documentation in html format define: # WITH_MUTT_HTML # +# If you do not want that the documentation is rebuilt using sgmlformat +# define: +# WITHOUT_MUTT_SGMLFORMAT +# (this can't be stated if WITH_MUTT_HTML is defined) +# # If you want to read news with mutt define: # WITH_MUTT_NNTP # (note that this implies building of the inn-stable port to be able to @@ -42,8 +47,7 @@ PORTNAME= mutt-devel PORTVERSION= 1.3.27 -PORTREVISION= 1 -PATCH_VERSION= 1.3.26 +PORTREVISION= 2 CATEGORIES+= mail .if defined(WITH_MUTT_NNTP) CATEGORIES+= news @@ -124,7 +128,12 @@ WITH_MUTT_IMAP= yes LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext \ giconv.2:${PORTSDIR}/converters/libiconv +.if defined(NOPORTDOCS) +WITHOUT_MUTT_SGMLFORMAT= yes +.endif +.if !defined(WITHOUT_MUTT_SGMLFORMAT) BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat +.endif .if defined(USE_SLANG) LIB_DEPENDS+= slang.1:${PORTSDIR}/devel/libslang .elif defined(USE_NCURSES) && ${OSVERSION} < 400000 @@ -208,6 +217,14 @@ PLIST_SUB+= SUB_NNTP="" .else PLIST_SUB+= SUB_NNTP="@comment " .endif +.if defined(WITHOUT_MUTT_SGMLFORMAT) +.if defined(WITH_MUTT_HTML) +.error You can't say both: WITH_MUTT_HTML and WITHOUT_MUTT_SGMLFORMAT +.endif +PLIST_SUB+= SUB_SGML="@comment " +.else +PLIST_SUB+= SUB_SGML="" +.endif .if defined(WITH_MUTT_HTML) PLIST_SUB+= SUB_HTML="" .if defined(WITH_MUTT_IMAP) || defined(WITH_MUTT_POP) @@ -827,6 +844,7 @@ PLIST_SUB+= SUB_ADD_O="@comment " .else # NOPORTDOCS PLIST_SUB+= SUB_HTML="@comment " PLIST_SUB+= SUB_NNTP="@comment " +PLIST_SUB+= SUB_SGML="@comment " PLIST_SUB+= SUB_ADD_A="@comment " PLIST_SUB+= SUB_ADD_B="@comment " PLIST_SUB+= SUB_ADD_C="@comment " @@ -853,9 +871,13 @@ post-install: @${ECHO} "===> Installing Mutt documentation" @${MKDIR} ${PREFIX}/share/doc/mutt && \ ${CHMOD} a+rx ${PREFIX}/share/doc/mutt - @cd ${WRKSRC}/doc ; ${INSTALL_MAN} manual.txt manual.latin1 \ + @cd ${WRKSRC}/doc ; ${INSTALL_MAN} manual.txt \ PGP-Notes.txt ../ABOUT-NLS ../contrib/language* \ ${PREFIX}/share/doc/mutt +.if !defined(WITHOUT_MUTT_SGMLFORMAT) + @cd ${WRKSRC}/doc ; ${INSTALL_MAN} manual.latin1 \ + ${PREFIX}/share/doc/mutt +.endif .if defined(WITH_MUTT_NNTP) @cd ${WRKSRC} ; ${INSTALL_MAN} ChangeLog.nntp \ ${PREFIX}/share/doc/mutt diff --git a/mail/mutt-devel/distinfo b/mail/mutt-devel/distinfo index 0259c82d3486..a7b43d4a928a 100644 --- a/mail/mutt-devel/distinfo +++ b/mail/mutt-devel/distinfo @@ -1,6 +1,6 @@ MD5 (mutt/mutt-1.3.27i.tar.gz) = 88e7e61686b0959733ae3f7cadb07bce -MD5 (mutt/patch-1.3.26.rr.compressed.gz) = 50022cbc701ce743e6d4b079fa79afd9 -MD5 (mutt/patch-1.3.26.vvv.nntp.gz) = 2681fd642fec4440b21dbb998ccf156c -MD5 (mutt/patch-1.3.26.vvv.initials.gz) = 5493b3b59c8403510a5ac36eec39b247 -MD5 (mutt/patch-1.3.26.vvv.quote.gz) = afa621c7b8a3ebb57b8067fcc19189a3 -MD5 (mutt/patch-1.3.26.vvv.ru.gz) = 8a76bdc1a8853f339fe3827b9b008856 +MD5 (mutt/patch-1.3.27.rr.compressed.gz) = a821153bf644a9bb98552177c66f9201 +MD5 (mutt/patch-1.3.27.vvv.nntp.gz) = ab347aa1c1455e4321a64d68c35afe61 +MD5 (mutt/patch-1.3.27.vvv.initials.gz) = 774d654d99a5e113c34dcd325eae65b8 +MD5 (mutt/patch-1.3.27.vvv.quote.gz) = 413dcc9493823146f1cf7fdbd2a4f68d +MD5 (mutt/patch-1.3.27.vvv.ru.gz) = e8b01d6783fcf2737067d8c4534ad246 diff --git a/mail/mutt-devel/pkg-plist b/mail/mutt-devel/pkg-plist index fffac9f01acb..1acebb4de149 100644 --- a/mail/mutt-devel/pkg-plist +++ b/mail/mutt-devel/pkg-plist @@ -50,7 +50,7 @@ share/locale/zh_TW/LC_MESSAGES/mutt.mo %%PORTDOCS%%share/doc/mutt/language.txt %%PORTDOCS%%share/doc/mutt/language50.txt %%PORTDOCS%%share/doc/mutt/manual.txt -%%PORTDOCS%%share/doc/mutt/manual.latin1 +%%SUB_SGML%%share/doc/mutt/manual.latin1 %%PORTDOCS%%share/doc/mutt/patch-notes.txt %%PORTDOCS%%share/doc/mutt/samples/iconv/iconv.aix-3.2.5.rc %%PORTDOCS%%share/doc/mutt/samples/iconv/iconv.aix-4.1.5.rc |