# -*- 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: Portfile 68774 2010-06-13 11:58:13Z jmr@macports.org $ PortSystem 1.0 name upslug2 version 12-r41 categories cross devel license MIT maintainers gmail.com:ranauei description A tool to flash your NSLU2 from a computer on the same network long_description UpSlug2 is a completely rewritten version of the UpSlug tool \ which is more robust and flexible, though it still requires \ an ethernet connection to the NSLU2. homepage http://www.nslu2-linux.org/wiki/Main/UpSlug2 platforms darwin master_sites sourceforge:nslu distname ${name}-11 checksums md5 e135bc8a390b65573bbc8ff4628e490c \ sha1 cddfd7c4bc75fc59c5f8cf8c276741bfe3a87e7f \ rmd160 4c79044eaa81e00bde722dc1ec091a7103ca5ef1 depends_lib port:libpcap # patch latest released version 11 to version 12 (svn revision 41) patchfiles 11-r41.diff use_autoreconf yes configure.args --with-libpcap variant flashmod16 description {Add support for modded NSLU2 with 16MByte of flash memory} { patchfiles-append patch-nslu2_protocol.h.diff } post-destroot { xinstall -m 644 ${worksrcpath}/${name}.8 ${destroot}${prefix}/share/man/man8 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README \ README.macosx ${destroot}${prefix}/share/doc/${name} }