# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0

name                color-theme-mode.el
version             6.6.0
categories          editors
license             GPL-2+
maintainers         wjlr.org.uk:macports openmaintainer
platforms           any
supported_archs     noarch
description         color-theme is an emacs-lisp mode for skinning your emacs
long_description    \
                    color-theme is an emacs-lisp mode for skinning your emacs. Features are:    \
                        * Huge and extensible theme library                                     \
                        * Easy to use                                                           \
                        * Works on pretty all emacs flavours                                    \
                        * Mature source code

distname            color-theme-${version}

homepage            https://www.nongnu.org/color-theme/

master_sites        http://www.very-clever.com/download/nongnu/color-theme/
checksums           md5     a4de73c236a6af11ab378bfe18dabcca                \
                    sha1    047d6cb207fdef66b25343479ebe09a1ed3954b5        \
                    rmd160  82a2c75a65f50f9c5e6d5193c3f768824c6c1549

depends_lib         port:emacs

worksrcdir          ${distname}

use_configure       no
build               {}
destroot            {   file mkdir ${destroot}${prefix}/share/emacs/site-lisp
                        file copy  ${workpath}/${worksrcdir}  \
                        ${destroot}${prefix}/share/emacs/site-lisp
}

notes "To use ${name}, put the following into your ~/.emacs:\n\
      (add-to-list 'load-path \"${prefix}/share/emacs/site-lisp/${distname}\")\n\
      (require 'color-theme)\n\
      (eval-after-load \"color-theme\"\n\
          \t'(progn\n\
              \t\t(color-theme-initialize)\n\
              \t\t(color-theme-hober)))\n\
      \n\
      Then you can choose your color-theme theme by issuing:\n\
      M-x color-theme-<TAB> RET"

livecheck.type      regex
livecheck.url       ${homepage}
livecheck.regex     {Current stable release is (\d+(?:\.\d+)*)}
