source: trunk/dports/net/fauxident/Portfile

Last change on this file was 133463, checked in by ryandesign@…, 2 years ago

fauxident: add modeline and adjust whitespace to match

  • 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 133463 2015-03-02 19:44:32Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                fauxident
7version             1.2.1
8revision            2
9categories          net
10platforms           darwin freebsd
11maintainers         nomaintainer
12license             GPL-2
13supported_archs     noarch
14
15description         small extremely naive ident server
16
17long_description    fauxident is a small Python script that will act as an \
18                    extremely naive ident server, answering all ident requests \
19                    with a consistent response -- either an ERROR or a USERID \
20                    response.
21
22homepage            http://www.alcyone.com/software/fauxident/
23master_sites        ${homepage}
24
25checksums           rmd160  43e4e87e51f297b23afb0e4e184dc6b9988ef42d \
26                    sha256  73dd881432d5c816f34ed3ba1bf78b477beb8a7a53ae0f542390dab33b6a697f
27
28depends_lib         port:python27
29
30post-extract {
31    file attributes ${worksrcpath}/fauxident.py -permissions 0755
32}
33
34configure {
35    reinplace "s|/usr/local/bin/python|${prefix}/bin/python2.7|g" \
36        ${worksrcpath}/fauxident.py
37}
38
39build               {}
40
41destroot {
42    file mkdir ${destroot}${prefix}/bin
43    file mkdir ${destroot}${prefix}/share/doc/${name}
44    file copy ${worksrcpath}/fauxident.py ${destroot}${prefix}/bin/
45    file copy ${worksrcpath}/COPYING ${worksrcpath}/README \
46        ${worksrcpath}/doc/index.html ${worksrcpath}/doc/home \
47        ${destroot}${prefix}/share/doc/${name}
48}
Note: See TracBrowser for help on using the repository browser.