source: trunk/dports/www/pathalizer/Portfile @ 98702

Last change on this file since 98702 was 98702, checked in by ryandesign@…, 7 years ago

pathalizer: ensure we're UsingTheRightCompiler and -arch flags and fix universal variant; fix typos in sample config file; rewrite dependencies to ensure only MacPorts ports can satisfy them

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- 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
2# $Id: Portfile 98702 2012-10-13 10:58:44Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                pathalizer
7version             0.7
8revision            1
9categories          www
10platforms           darwin
11maintainers         nomaintainer
12
13description         visualize the paths most users take when browsing a website
14
15long_description    Pathalizer is a tool to visualize the paths most users \
16                    take when browsing a website. This information can then be \
17                    used to decide how to improve the navigation of the site, and \
18                    which parts are most worth improving and keeping up to date.
19
20homepage            http://pathalizer.sourceforge.net/
21master_sites        sourceforge:project/pathalizer/pathalizer/${version}
22
23checksums           md5     7ef23977fc246dcdf332e4eec3111037
24
25depends_run         port:ghostscript \
26                    path:bin/dot:graphviz \
27                    port:netpbm
28
29use_configure       no
30
31variant universal {}
32
33post-patch {
34    reinplace "s|/etc|${prefix}/etc|g" ${worksrcpath}/bin/pathalizer
35    reinplace "s|g++|${configure.cxx} [get_canonical_archflags cxx]|g" ${worksrcpath}/src/Makefile
36}
37
38destroot.destdir    PREFIX=${destroot}${prefix}
39
40post-destroot {
41    xinstall -m 755 -d ${destroot}${prefix}/etc
42    xinstall -m 644 ${filespath}/pathalizer.conf \
43        ${destroot}${prefix}/etc/pathalizer.conf.sample
44}
Note: See TracBrowser for help on using the repository browser.