Revision: 134631 https://trac.macports.org/changeset/134631 Author: khindenburg@macports.org Date: 2015-04-01 07:05:19 -0700 (Wed, 01 Apr 2015) Log Message: ----------- analog: add modeline + whitespace #47225 Modified Paths: -------------- trunk/dports/www/analog/Portfile Modified: trunk/dports/www/analog/Portfile =================================================================== --- trunk/dports/www/analog/Portfile 2015-04-01 13:30:18 UTC (rev 134630) +++ trunk/dports/www/analog/Portfile 2015-04-01 14:05:19 UTC (rev 134631) @@ -1,61 +1,62 @@ +# -*- 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 analog -version 6.0 -categories www -license GPL-2 -maintainers nomaintainer -description A program which analyses logfiles from WWW servers +name analog +version 6.0 +categories www +license GPL-2 +maintainers nomaintainer +description A program which analyses logfiles from WWW servers long_description \ - It is designed to be fast and to produce accurate and attractive \ - statistics: and combined with Report Magic, you can generate even \ - prettier reports. It's free software. + It is designed to be fast and to produce accurate and attractive \ + statistics: and combined with Report Magic, you can generate even \ + prettier reports. It's free software. -platforms darwin +platforms darwin -homepage http://www.analog.cx/ -master_sites http://www.analog.cx/ \ - http://analog.linuxhelp.ca/ \ - http://www.rge.com/pub/infosystems/statistics/analog/ \ - http://sunsite.cnlab-switch.ch/www/mirror/analog/ +homepage http://www.analog.cx/ +master_sites http://www.analog.cx/ \ + http://analog.linuxhelp.ca/ \ + http://www.rge.com/pub/infosystems/statistics/analog/ \ + http://sunsite.cnlab-switch.ch/www/mirror/analog/ -checksums md5 743d03a16eb8c8488205ae63cdb671cd \ - sha1 17ad601f84e73c940883fb9b9e805879aac37493 +checksums md5 743d03a16eb8c8488205ae63cdb671cd \ + sha1 17ad601f84e73c940883fb9b9e805879aac37493 # Note, it'd be nice to use an already-installed version of jpeg and libpng # as well, but analog currently doesn't have a HAVE_ define for them, just # zlib (as well as gd, which should be here too if possible) -depends_lib lib:libz.1:zlib +depends_lib lib:libz.1:zlib -patchfiles patch-src_anlghead.h +patchfiles patch-src_anlghead.h post-patch { - reinplace "s|@@PREFIX@@|${prefix}|g" "${worksrcpath}/src/anlghead.h" + reinplace "s|@@PREFIX@@|${prefix}|g" "${worksrcpath}/src/anlghead.h" } -use_configure no +use_configure no -build.args DEFS="-DHAVE_ZLIB" LIBS="-lz" -build.target analog -#build.cmd cd ${worksrcpath}/src && make +build.args DEFS="-DHAVE_ZLIB" LIBS="-lz" +build.target analog +#build.cmd cd ${worksrcpath}/src && make destroot { - xinstall -m 755 -d "${destroot}${prefix}/bin" \ - "${destroot}${prefix}/share/doc/${name}" \ - "${destroot}${prefix}/share/man/man1" \ - "${destroot}${prefix}/share/${name}" - foreach item [list examples how-to images lang] { - file copy ${worksrcpath}/${item} ${destroot}${prefix}/share/${name} - } - foreach item [glob ${worksrcpath}/docs/*] { - file copy ${item} ${destroot}${prefix}/share/doc/${name} - } - xinstall -m 644 -W ${worksrcpath} ${name}.man \ - "${destroot}${prefix}/share/man/man1/${name}.1" - xinstall -m 755 -W ${worksrcpath} ${name} "${destroot}${prefix}/bin" + xinstall -m 755 -d "${destroot}${prefix}/bin" \ + "${destroot}${prefix}/share/doc/${name}" \ + "${destroot}${prefix}/share/man/man1" \ + "${destroot}${prefix}/share/${name}" + foreach item [list examples how-to images lang] { + file copy ${worksrcpath}/${item} ${destroot}${prefix}/share/${name} + } + foreach item [glob ${worksrcpath}/docs/*] { + file copy ${item} ${destroot}${prefix}/share/doc/${name} + } + xinstall -m 644 -W ${worksrcpath} ${name}.man \ + "${destroot}${prefix}/share/man/man1/${name}.1" + xinstall -m 755 -W ${worksrcpath} ${name} "${destroot}${prefix}/bin" } platform darwin { - build.args-append OS="OSX" + build.args-append OS="OSX" }
participants (1)
-
khindenburg@macports.org