[87173] trunk/dports/sysutils/gkrellm/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat Nov 12 16:13:27 PST 2011
Revision: 87173
http://trac.macports.org/changeset/87173
Author: ryandesign at macports.org
Date: 2011-11-12 16:13:27 -0800 (Sat, 12 Nov 2011)
Log Message:
-----------
gkrellm: whitespace changes / reformatting / add modeline
Modified Paths:
--------------
trunk/dports/sysutils/gkrellm/Portfile
Modified: trunk/dports/sysutils/gkrellm/Portfile
===================================================================
--- trunk/dports/sysutils/gkrellm/Portfile 2011-11-13 00:11:34 UTC (rev 87172)
+++ trunk/dports/sysutils/gkrellm/Portfile 2011-11-13 00:13:27 UTC (rev 87173)
@@ -1,35 +1,37 @@
+# -*- 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 gkrellm
version 2.3.5
revision 2
categories sysutils
+platforms darwin
maintainers markd openmaintainer
description A GTK based system monitor
+
long_description ${description}
homepage http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html
-
-platforms darwin
master_sites http://members.dslextreme.com/users/billw/gkrellm/
checksums sha1 bcfc2efb5fd3f27e9bb703bda73f6a1d96b080df \
rmd160 6ac017985981a8731690a54a296e673b6bf7fab0
-use_bzip2 yes
+use_bzip2 yes
depends_build port:pkgconfig
depends_lib port:gtk2 \
port:xorg-libsm
-use_configure no
+use_configure no
variant universal {}
-build.type gnu
+build.type gnu
build.env CC="${configure.cc}" \
CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
CPPFLAGS="${configure.cppflags}" \
@@ -39,37 +41,37 @@
destroot.target install_darwin9
set plugin_dir ${prefix}/libexec/gkrellm2/plugins
-set theme_dir ${prefix}/share/gkrellm2/themes
+set theme_dir ${prefix}/share/gkrellm2/themes
-platform darwin 8 {
+platform darwin 8 {
build.target darwin
destroot.target install_darwin
-}
+}
post-patch {
- reinplace "s|\$(PREFIX)|${prefix}|g" \
- "${worksrcpath}/Makefile"
+ reinplace "s|\$(PREFIX)|${prefix}|g" \
+ "${worksrcpath}/Makefile"
- reinplace "s|/usr/local/share/gkrellm2/themes|${theme_dir}|g" \
- "${worksrcpath}/src/gkrellm.h"
+ reinplace "s|/usr/local/share/gkrellm2/themes|${theme_dir}|g" \
+ "${worksrcpath}/src/gkrellm.h"
- reinplace "s|/usr/share/gkrellm2/themes|${theme_dir}|g" \
- "${worksrcpath}/src/gkrellm.h"
+ reinplace "s|/usr/share/gkrellm2/themes|${theme_dir}|g" \
+ "${worksrcpath}/src/gkrellm.h"
- reinplace "s|/usr/local/lib/gkrellm2/plugins|${plugin_dir}|g" \
- "${worksrcpath}/src/gkrellm.h"
+ reinplace "s|/usr/local/lib/gkrellm2/plugins|${plugin_dir}|g" \
+ "${worksrcpath}/src/gkrellm.h"
- reinplace "s|/usr/lib/gkrellm2/plugins|${plugin_dir}|g" \
- "${worksrcpath}/src/gkrellm.h"
+ reinplace "s|/usr/lib/gkrellm2/plugins|${plugin_dir}|g" \
+ "${worksrcpath}/src/gkrellm.h"
}
post-destroot {
- xinstall -m 755 -d ${destroot}${theme_dir}
- xinstall -m 755 -d ${destroot}${plugin_dir}
+ xinstall -m 755 -d ${destroot}${theme_dir}
+ xinstall -m 755 -d ${destroot}${plugin_dir}
- destroot.keepdirs \
- ${destroot}${theme_dir} \
- ${destroot}${plugin_dir}
+ destroot.keepdirs \
+ ${destroot}${theme_dir} \
+ ${destroot}${plugin_dir}
}
notes "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111112/5cdfe74a/attachment.html>
More information about the macports-changes
mailing list