[123337] trunk/dports/textproc/boxes/Portfile
khindenburg at macports.org
khindenburg at macports.org
Fri Aug 8 06:45:06 PDT 2014
Revision: 123337
https://trac.macports.org/changeset/123337
Author: khindenburg at macports.org
Date: 2014-08-08 06:45:06 -0700 (Fri, 08 Aug 2014)
Log Message:
-----------
boxes: add modeline - whitespace changes
Modified Paths:
--------------
trunk/dports/textproc/boxes/Portfile
Modified: trunk/dports/textproc/boxes/Portfile
===================================================================
--- trunk/dports/textproc/boxes/Portfile 2014-08-08 13:36:23 UTC (rev 123336)
+++ trunk/dports/textproc/boxes/Portfile 2014-08-08 13:45:06 UTC (rev 123337)
@@ -1,50 +1,53 @@
+# -*- 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
# $Id$
-PortSystem 1.0
+PortSystem 1.0
-name boxes
-version 1.1
-categories textproc
-license GPL-2+
-platforms darwin
-maintainers nomaintainer
+name boxes
+version 1.1
+categories textproc
+license GPL-2+
+platforms darwin
+maintainers nomaintainer
-description draws boxes around text
-long_description boxes is a text filter which can draw various \
- ASCII art boxes around its input text. \
- Variants: 'emacs' -- installs boxes.el, which \
- simplifies using boxes from emacs
-homepage http://boxes.thomasjensen.com
-master_sites http://boxes.thomasjensen.com/download/
-extract.suffix .src.tar.gz
-checksums md5 d2ef9fa28a87bf32b3fe0c47ab82fa97
+description draws boxes around text
+long_description boxes is a text filter which can draw various \
+ ASCII art boxes around its input text. \
+ Variants: 'emacs' -- installs boxes.el, which \
+ simplifies using boxes from emacs
-patchfiles config.h.patch boxes.c.patch parser.patch regerror.patch \
- regexp_Makefile.patch tools.c.patch
+homepage http://boxes.thomasjensen.com
+master_sites http://boxes.thomasjensen.com/download/
+extract.suffix .src.tar.gz
+checksums md5 d2ef9fa28a87bf32b3fe0c47ab82fa97
+
+patchfiles config.h.patch boxes.c.patch parser.patch regerror.patch \
+ regexp_Makefile.patch tools.c.patch
+
use_configure no
variant emacs description {Install boxes.el for running inside emacs} {
- post-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/share/emacs/site-lisp/${name}
- xinstall -m 644 ${worksrcpath}/doc/boxes.el ${destroot}${prefix}/share/emacs/site-lisp/${name}/
- }
+ post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/emacs/site-lisp/${name}
+ xinstall -m 644 ${worksrcpath}/doc/boxes.el ${destroot}${prefix}/share/emacs/site-lisp/${name}/
+ }
}
-post-patch { reinplace "s|GLOBALCONF = /usr/share/boxes|GLOBALCONF = ${prefix}/share/boxes|" "${worksrcpath}/Makefile" }
+post-patch { reinplace "s|GLOBALCONF = /usr/share/boxes|GLOBALCONF = ${prefix}/share/boxes|" "${worksrcpath}/Makefile" }
build.target
-build.args CC=${configure.cc}
+build.args CC=${configure.cc}
destroot {
- xinstall -m 755 ${worksrcpath}/src/boxes ${destroot}${prefix}/bin/${name}
- file copy ${worksrcpath}/boxes-config ${worksrcpath}/boxes
- xinstall -m 644 ${worksrcpath}/boxes ${destroot}${prefix}/share/${name}
- xinstall ${worksrcpath}/doc/boxes.1 ${destroot}${prefix}/share/man/man1/
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath} COPYING README README.Win32.txt boxes-config ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 755 ${worksrcpath}/src/boxes ${destroot}${prefix}/bin/${name}
+ file copy ${worksrcpath}/boxes-config ${worksrcpath}/boxes
+ xinstall -m 644 ${worksrcpath}/boxes ${destroot}${prefix}/share/${name}
+ xinstall ${worksrcpath}/doc/boxes.1 ${destroot}${prefix}/share/man/man1/
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 -W ${worksrcpath} COPYING README README.Win32.txt boxes-config ${destroot}${prefix}/share/doc/${name}
}
-livecheck.type regex
-livecheck.url [lindex ${master_sites} 0]
-livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
+livecheck.type regex
+livecheck.url [lindex ${master_sites} 0]
+livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140808/ba8b2702/attachment.html>
More information about the macports-changes
mailing list