This port allows to create nice syntax coloured listings for display on web sites Fix: Regards, Marc--wgbkSWv7Wl16OOzOZ7a4QBtxqr1SNQemeIsglWc1GlUh1Dpp Content-Type: text/plain; name="file.shar" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.shar" # 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: # # htmlize.el # htmlize.el/Makefile # htmlize.el/pkg-descr # htmlize.el/pkg-plist # htmlize.el/pkg-message # htmlize.el/distinfo # echo c - htmlize.el mkdir -p htmlize.el > /dev/null 2>&1 echo x - htmlize.el/Makefile sed 's/^X//' >htmlize.el/Makefile << 'END-of-htmlize.el/Makefile' X# New ports collection makefile for: htmlize.el X# Date created: 15 January 2004 X# Whom: Marc van Woerkom <marc.vanwoerkom@fernuni-hagen.de> X# X# $FreeBSD:$ X# X XPORTNAME= htmlize.el XPORTVERSION= 1.16 XCATEGORIES= textproc elisp XMASTER_SITES= http://fly.srk.fer.hr/~hniksic/emacs/ XDISTNAME= ${PORTNAME} XEXTRACT_SUFX= XEXTRACT_ONLY= X XMAINTAINER= marc.vanwoerkom@fernuni-hagen.de XCOMMENT= Emacs major mode to create HTML files from Emacs buffers (in colour!) X XRUN_DEPENDS= emacs:${PORTSDIR}/editors/emacs21 X X#NO_WRKSUBDIR= yes XNO_BUILD= yes X XLISPDIR= ${PREFIX}/share/emacs/site-lisp X Xdo-install: X ${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${LISPDIR} X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-htmlize.el/Makefile echo x - htmlize.el/pkg-descr sed 's/^X//' >htmlize.el/pkg-descr << 'END-of-htmlize.el/pkg-descr' XEmacs major mode to create HTML files from Emacs buffers (in colour!) X XThis major mode will output the contents of an Emacs buffer as a XHTML file, preserving the colour attributes of that buffer. X XThis is a pretty elegant solution to produce nice listings of your Xcode in Erlang, C++, SML, Ruby (or whatever esoteric language you can Xdig out a major mode for) to display on web sites. X XAs an example watch the ELISP code of this major mode X X http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el.html X XBecause the colouring depends only on your major mode and perhaps Xsome individual settings (e.g. I prefer a dark background) you can Xturn any Emacs buffer into HTML. X X XWWW: http://fly.srk.fer.hr/~hniksic/emacs/ X X- Marc van Woerkom Xmarc.vanwoerkom@fernuni-hagen.de END-of-htmlize.el/pkg-descr echo x - htmlize.el/pkg-plist sed 's/^X//' >htmlize.el/pkg-plist << 'END-of-htmlize.el/pkg-plist' Xshare/emacs/site-lisp/htmlize.el END-of-htmlize.el/pkg-plist echo x - htmlize.el/pkg-message sed 's/^X//' >htmlize.el/pkg-message << 'END-of-htmlize.el/pkg-message' X**************************************************************************** XTo use htmlize mode, add to your ~/.emacs the following lines: X X;; Enable syntax colouring X(global-font-lock-mode) X X;; General emacs to HTML converter X(require 'htmlize) X X**************************************************************************** END-of-htmlize.el/pkg-message echo x - htmlize.el/distinfo sed 's/^X//' >htmlize.el/distinfo << 'END-of-htmlize.el/distinfo' XMD5 (htmlize.el) = 58ef49144157a446a131132c35dbf6fd END-of-htmlize.el/distinfo exit
Why is nobody commiting this nice port? It uses Emacs various syntax colouring modes and allows to put nice listings of everything that comes with such a mode on the web. Regards, Marc
Hm, this one is also in xemacs-packages. Is this the same version? Somehow having seperate ports installing the same files in different places doesn't feel right, though IANE. Volker
State Changed From-To: open->closed New port added, thank you!