[32367] trunk/dports/net/scapy/Portfile
Revision: 32367 http://trac.macosforge.org/projects/macports/changeset/32367 Author: pmq@macports.org Date: 2007-12-27 12:36:55 -0800 (Thu, 27 Dec 2007) Log Message: ----------- Version bump to 1.2.0.2. Use the hg tag to pull the file (as the tar.gz looks like it's never updated). FIXME: add the manpage from the old tarball even if it's slightly outdated. Modified Paths: -------------- trunk/dports/net/scapy/Portfile Modified: trunk/dports/net/scapy/Portfile =================================================================== --- trunk/dports/net/scapy/Portfile 2007-12-27 20:33:59 UTC (rev 32366) +++ trunk/dports/net/scapy/Portfile 2007-12-27 20:36:55 UTC (rev 32367) @@ -4,8 +4,7 @@ PortGroup python24 1.0 name scapy -version 1.1.1 -revision 1 +version 1.2.0.2 categories net security python maintainers pmq @@ -24,12 +23,14 @@ channel, ...), etc. homepage http://www.secdev.org/projects/scapy -master_sites ${homepage}/files +set hg_revision d9c79a8bc874 +master_sites ${homepage}/files:files \ + http://hg.secdev.org/${name}/raw-file/${hg_revision}:code -distfiles ${distfiles} ethertypes -checksums ${distname}.tar.gz \ - sha1 870da8e6e2a8786b03a0055fc2cc1d1317f308e4 \ - rmd160 20bdb1ea59a05f452a515e438e230e1d85b81016 \ +distfiles ${name}.py:code ethertypes:files +checksums ${name}.py \ + sha1 212aee3be0647d3402560e3bf81c523df1f780d1 \ + rmd160 6911b7f2cc8353c4e577c57c711dbdcabf4e412a \ ethertypes \ sha1 6ed0fe2446666876d77b8971fd8edf495a9c0be3 \ rmd160 296b88fed911b25398b5f657cd6bb5c91e72e288 @@ -37,7 +38,11 @@ depends_lib-append port:py-readline port:py-pylibpcap port:py-libdnet \ port:py-crypto port:py-gnuplot port:py-pyx port:graphviz -extract.only ${distname}${extract.suffix} +extract { + xinstall -d ${worksrcpath} + file copy ${distpath}/${name}.py ${worksrcpath}/${name}.py +} + use_configure no build { @@ -60,9 +65,9 @@ destroot { xinstall -m 755 -W ${worksrcpath} scapy.py ${destroot}${prefix}/bin xinstall -m 644 -W ${distpath} ethertypes ${destroot}${prefix}/etc - xinstall -m 644 -W ${worksrcpath} scapy.1 ${destroot}${prefix}/share/man/man1 + # xinstall -m 644 -W ${worksrcpath} scapy.1 ${destroot}${prefix}/share/man/man1 # changelog.txt seems obsolete - xinstall -d ${destroot}${prefix}/share/doc/${name} - xinstall -m 644 AUTHORS COPYING README changelog ${destroot}${prefix}/share/doc/${name} + # xinstall -d ${destroot}${prefix}/share/doc/${name} + # xinstall -m 644 AUTHORS COPYING README changelog ${destroot}${prefix}/share/doc/${name} }
participants (1)
-
pmq@macports.org