Ticket #24900: Portfile

File Portfile, 1.4 KB (added by ranauei@…, 14 years ago)
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$
3
4PortSystem          1.0
5
6name                upslug2
7version             41
8categories          cross devel
9maintainers         gmail.com:ranauei
10description         A tool to flash your NSLU2 from a computer on the same network
11long_description    UpSlug2 is a completely rewritten version of the UpSlug tool \
12                    which is more robust and flexible, though it still requires \
13                    an ethernet connection to the NSLU2.
14homepage            http://www.nslu2-linux.org/wiki/Main/UpSlug2
15platforms           darwin
16master_sites        http://trac.nslu2-linux.org/upslug2/changeset/${version}/trunk?old_path=%2F&format=zip&dummy=
17use_zip             yes
18worksrcdir          trunk
19checksums           md5 0cfd1e6a30f85823708fbffdd7d1ebde \
20                    sha1 b39ca97c6d01c4cf1312d2b0d9f6c8a397f6d81b \
21                    rmd160 54b7ebad39adff4c07531af2209c5172626a1d50
22
23depends_lib         port:libpcap
24
25use_autoreconf      yes
26
27configure.args      --with-libpcap
28
29variant FlashMod16 description {Add support for modded NSLU2 with 16MByte of flash memory} {
30        patchfiles-append patch-nslu2_protocol.h.diff
31}
32
33destroot {
34        xinstall ${worksrcpath}/${name} ${destroot}${prefix}/bin
35        xinstall -m 644 ${worksrcpath}/${name}.8 ${destroot}${prefix}/share/man/man8
36}