source: trunk/dports/cross/upslug2/Portfile

Last change on this file was 68774, checked in by jmr@…, 7 years ago

New port: upslug2, NSLU2 firmware upload tool (#24900)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 68774 2010-06-13 11:58:13Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                upslug2
7version             12-r41
8categories          cross devel
9license             MIT
10maintainers         gmail.com:ranauei
11description         A tool to flash your NSLU2 from a computer on the same network
12long_description    UpSlug2 is a completely rewritten version of the UpSlug tool \
13                    which is more robust and flexible, though it still requires \
14                    an ethernet connection to the NSLU2.
15homepage            http://www.nslu2-linux.org/wiki/Main/UpSlug2
16platforms           darwin
17master_sites        sourceforge:nslu
18distname            ${name}-11
19checksums           md5 e135bc8a390b65573bbc8ff4628e490c \
20                    sha1 cddfd7c4bc75fc59c5f8cf8c276741bfe3a87e7f \
21                    rmd160 4c79044eaa81e00bde722dc1ec091a7103ca5ef1
22
23depends_lib         port:libpcap
24
25# patch latest released version 11 to version 12 (svn revision 41)
26patchfiles          11-r41.diff
27
28use_autoreconf      yes
29
30configure.args      --with-libpcap
31
32variant flashmod16 description {Add support for modded NSLU2 with 16MByte of flash memory} {
33        patchfiles-append patch-nslu2_protocol.h.diff
34}
35
36post-destroot {
37        xinstall -m 644 ${worksrcpath}/${name}.8 ${destroot}${prefix}/share/man/man8
38        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
39        xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README \
40            README.macosx ${destroot}${prefix}/share/doc/${name}
41}
Note: See TracBrowser for help on using the repository browser.