Date: Sat, 9 Feb 2002 15:57:28 +0100 (CET) From: Andreas Brenk <ab@aegisnet.de> To: FreeBSD-gnats-submit@freebsd.org Cc: Andreas Brenk <ab@aegisnet.de> Subject: ports/34754: New port: muttprint - pretty printing of mails using LaTeX Message-ID: <200202091457.g19EvS252729@trillian.aegisnet.de>
next in thread | raw e-mail | index | archive | help
>Number: 34754 >Category: ports >Synopsis: New port: muttprint - pretty printing of mails using LaTeX >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Feb 09 07:00:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Andreas Brenk >Release: FreeBSD 4.5-RELEASE i386 >Organization: AegisNet IT-Dienstleistungen >Environment: System: FreeBSD trillian.aegisnet.de 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386 >Description: Hi, I just created this port of muttprint. I'd be nice if it found its way into the ports tree. This is my first port, so I was unsure about the dependencies as well as hardcoding "/usr/local" into the patches (they just change the location of the config file). Yours, Andreas Brenk >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # /usr/ports/mail/muttprint/ # /usr/ports/mail/muttprint/pkg-plist # /usr/ports/mail/muttprint/pkg-descr # /usr/ports/mail/muttprint/pkg-comment # /usr/ports/mail/muttprint/distinfo # /usr/ports/mail/muttprint/Makefile # /usr/ports/mail/muttprint/files # /usr/ports/mail/muttprint/files/patch-01 # /usr/ports/mail/muttprint/files/patch-02 # /usr/ports/mail/muttprint/pkg-message # echo c - /usr/ports/mail/muttprint/ mkdir -p /usr/ports/mail/muttprint/ > /dev/null 2>&1 echo x - /usr/ports/mail/muttprint/pkg-plist sed 's/^X//' >/usr/ports/mail/muttprint/pkg-plist << 'END-of-/usr/ports/mail/muttprint/pkg-plist' Xbin/muttprint Xetc/Muttprintrc.sample Xlib/muttprint/translation-cs.pl Xlib/muttprint/translation-de.pl Xlib/muttprint/translation-es.pl Xlib/muttprint/translation-example.pl Xlib/muttprint/translation-fr.pl Xlib/muttprint/translation-it.pl Xlib/muttprint/translation-pl.pl X%%PORTDOCS%%share/doc/muttprint/CHANGES X%%PORTDOCS%%share/doc/muttprint/README X%%PORTDOCS%%share/doc/muttprint/README.Gnus X%%PORTDOCS%%share/doc/muttprint/README.translations Xshare/muttprint/BabyTuX.eps Xshare/muttprint/BabyTuX.png Xshare/muttprint/BabyTuX_color.eps Xshare/muttprint/BabyTuX_color.png Xshare/muttprint/Debian.eps Xshare/muttprint/Debian.png Xshare/muttprint/Debian_color.eps Xshare/muttprint/Debian_color.png Xshare/muttprint/README.pics Xshare/muttprint/penguin.eps Xshare/muttprint/penguin.jpg X%%PORTDOCS%%@dirrm share/doc/muttprint X@dirrm lib/muttprint X@dirrm share/muttprint END-of-/usr/ports/mail/muttprint/pkg-plist echo x - /usr/ports/mail/muttprint/pkg-descr sed 's/^X//' >/usr/ports/mail/muttprint/pkg-descr << 'END-of-/usr/ports/mail/muttprint/pkg-descr' XFrom the FAQ: X XMuttprint formats the output of mail clients to a good-looking printing. It Xuses the typesetting system LaTeX, which is normaly part of every Linux Xdistribution and which is also available for other operating systems like X*BSD and Solaris. X XAuthor: Bernhard Walle <bernhard.walle@gmx.de> XWWW: http://muttprint.sourceforge.net X X- Andreas Brenk Xab@aegisnet.de END-of-/usr/ports/mail/muttprint/pkg-descr echo x - /usr/ports/mail/muttprint/pkg-comment sed 's/^X//' >/usr/ports/mail/muttprint/pkg-comment << 'END-of-/usr/ports/mail/muttprint/pkg-comment' XPretty printing of your mails using LaTeX END-of-/usr/ports/mail/muttprint/pkg-comment echo x - /usr/ports/mail/muttprint/distinfo sed 's/^X//' >/usr/ports/mail/muttprint/distinfo << 'END-of-/usr/ports/mail/muttprint/distinfo' XMD5 (muttprint-0.61.tar.gz) = d0d1150e85fd6321ecdba48c581d01ee END-of-/usr/ports/mail/muttprint/distinfo echo x - /usr/ports/mail/muttprint/Makefile sed 's/^X//' >/usr/ports/mail/muttprint/Makefile << 'END-of-/usr/ports/mail/muttprint/Makefile' X# New ports collection makefile for: muttprint X# Date created: 09 February 2002 X# Whom: Andreas Brenk <ab@aegisnet.de> X# X# $FreeBSD$ X# X XPORTNAME= muttprint XPORTVERSION= 0.61 XCATEGORIES= mail print XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} X XMAINTAINER= ab@aegisnet.de X X# I'm not sure about the dependencies, as there's text/latex and TeTex as X# well es mutt and mutt-devel. X# Despite the name muttprint it works with other mailers, too. X#RUN_DEPENDS= mutt:${PORTSDIR}/mail/mutt X XNO_BUILD= yes X XMAN1= muttprint.1 X X.include <bsd.port.pre.mk> X Xpre-install: X @ ${GZCAT} ${WRKSRC}/doc/manpages/en/muttprint.1.gz > ${WRKSRC}/doc/manpages/en/muttprint.1 X Xdo-install: X @ ${MKDIR} ${PREFIX}/bin X @ ${MKDIR} ${PREFIX}/lib/muttprint X @ ${MKDIR} ${PREFIX}/share/muttprint X @ ${MKDIR} ${PREFIX}/share/doc/muttprint X @ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin X @ ${INSTALL_DATA} ${WRKSRC}/sample-muttprintrc-en ${PREFIX}/etc/Muttprintrc.sample X @ ${INSTALL_MAN} ${WRKSRC}/doc/manpages/en/muttprint.1 ${PREFIX}/man/man1/muttprint.1 X @ ${INSTALL_DATA} ${WRKSRC}/pics/README.pics ${PREFIX}/share/muttprint X @ ${INSTALL_DATA} ${WRKSRC}/pics/penguin.jpg ${PREFIX}/share/muttprint X @ ${INSTALL_DATA} ${WRKSRC}/pics/penguin.eps ${PREFIX}/share/muttprint X @ ${INSTALL_DATA} ${WRKSRC}/pics/BabyTuX.png ${PREFIX}/share/muttprint X @ ${INSTALL_DATA} ${WRKSRC}/pics/BabyTuX.eps ${PREFIX}/share/muttprint X @ ${INSTALL_DATA} ${WRKSRC}/pics/BabyTuX_color.png ${PREFIX}/share/muttprint X @ ${INSTALL_DATA} ${WRKSRC}/pics/BabyTuX_color.eps ${PREFIX}/share/muttprint X @ ${INSTALL_DATA} ${WRKSRC}/pics/Debian.png ${PREFIX}/share/muttprint X @ ${INSTALL_DATA} ${WRKSRC}/pics/Debian.eps ${PREFIX}/share/muttprint X @ ${INSTALL_DATA} ${WRKSRC}/pics/Debian_color.png ${PREFIX}/share/muttprint X @ ${INSTALL_DATA} ${WRKSRC}/pics/Debian_color.eps ${PREFIX}/share/muttprint X @ ${INSTALL_DATA} ${WRKSRC}/translations/translation-cs.pl ${PREFIX}/lib/muttprint X @ ${INSTALL_DATA} ${WRKSRC}/translations/translation-de.pl ${PREFIX}/lib/muttprint X @ ${INSTALL_DATA} ${WRKSRC}/translations/translation-es.pl ${PREFIX}/lib/muttprint X @ ${INSTALL_DATA} ${WRKSRC}/translations/translation-example.pl ${PREFIX}/lib/muttprint X @ ${INSTALL_DATA} ${WRKSRC}/translations/translation-fr.pl ${PREFIX}/lib/muttprint X @ ${INSTALL_DATA} ${WRKSRC}/translations/translation-it.pl ${PREFIX}/lib/muttprint X @ ${INSTALL_DATA} ${WRKSRC}/translations/translation-pl.pl ${PREFIX}/lib/muttprint X Xpost-install: X @ ${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/muttprint X @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/muttprint X @ ${INSTALL_DATA} ${WRKSRC}/README.Gnus ${PREFIX}/share/doc/muttprint X @ ${INSTALL_DATA} ${WRKSRC}/README.translations ${PREFIX}/share/doc/muttprint X @ ${CAT} ${PKGMESSAGE} X X.include <bsd.port.post.mk> END-of-/usr/ports/mail/muttprint/Makefile echo c - /usr/ports/mail/muttprint/files mkdir -p /usr/ports/mail/muttprint/files > /dev/null 2>&1 echo x - /usr/ports/mail/muttprint/files/patch-01 sed 's/^X//' >/usr/ports/mail/muttprint/files/patch-01 << 'END-of-/usr/ports/mail/muttprint/files/patch-01' X--- muttprint Sat Feb 9 14:17:11 2002 X+++ muttprint Sat Feb 9 14:14:46 2002 X@@ -553,7 +553,7 @@ X X my $rcfile; X X- foreach $rcfile ("/etc/Muttprintrc", "$ENV{HOME}/.muttprintrc") { X+ foreach $rcfile ("/usr/local/etc/Muttprintrc", "$ENV{HOME}/.muttprintrc") { X X next unless (-r $rcfile); X END-of-/usr/ports/mail/muttprint/files/patch-01 echo x - /usr/ports/mail/muttprint/files/patch-02 sed 's/^X//' >/usr/ports/mail/muttprint/files/patch-02 << 'END-of-/usr/ports/mail/muttprint/files/patch-02' X--- sample-muttprintrc-en Sat Feb 9 14:36:35 2002 X+++ sample-muttprintrc-en Sat Feb 9 14:36:50 2002 X@@ -1,6 +1,6 @@ X # MUTTPRINT configuration file X # X-# ~/.muttprintrc or /etc/Muttprintrc X+# ~/.muttprintrc or /usr/local/etc/Muttprintrc X X # X # Here you can configure your printer END-of-/usr/ports/mail/muttprint/files/patch-02 echo x - /usr/ports/mail/muttprint/pkg-message sed 's/^X//' >/usr/ports/mail/muttprint/pkg-message << 'END-of-/usr/ports/mail/muttprint/pkg-message' XNow copy ${PREFIX}/etc/Muttrc.sample to ${PREFIX}/etc/Muttrc and insert X"set print_command = muttprint" into your Muttrc or .muttrc and you're ready Xto pretty-print your mails. END-of-/usr/ports/mail/muttprint/pkg-message exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202091457.g19EvS252729>