# $Id: Portfile,v 1.1 2004/11/05 16:44:10 mww Exp $ PortSystem 1.0 name highlight version 2.2-5 categories textproc devel platforms darwin maintainers mww@opendarwin.org description converts source code to formatted text with syntax highlighting long_description ${description} homepage http://www.andre-simon.de/ master_sites ${homepage}/zip/ checksums md5 4b5df6974cb8cf631a8cccfd4f838db5 use_bzip2 yes use_configure no configure { reinplace "s|/usr/share/highlight/|${prefix}/share/${name}/|g" \ ${worksrcpath}/highlight/datadir.cpp } destroot { xinstall -m 755 ${worksrcpath}/highlight/highlight ${destroot}${prefix}/bin xinstall -m 755 -d ${destroot}${prefix}/share/${name} file rename ${worksrcpath}/langDefs/extensions.conf \ ${destroot}${prefix}/share/${name}/extensions.conf file copy ${worksrcpath}/langDefs ${destroot}${prefix}/share/${name} file copy ${worksrcpath}/themes ${destroot}${prefix}/share/${name} file copy ${worksrcpath}/indentSchemes ${destroot}${prefix}/share/${name} file copy ${worksrcpath}/helpmsg ${destroot}${prefix}/share/${name} }