source: trunk/dports/net/asused/Portfile

Last change on this file was 145232, checked in by khindenburg@…, 22 months ago

asused: change homepage and master_sites #38474; this software has been deprecated and perhaps should be removed

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.8 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 145232 2016-01-29 02:38:48Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    asused
7version                 3.72
8revision        1
9categories              net
10platforms               darwin
11maintainers             free.fr:fclaire
12PortGroup               perl5 1.0
13
14description             Command-line tool to run a check on the usage of the RIPE Whois DB
15
16long_description        Asused is a tool to check and summarise address space \
17                        registered in the RIPE database. For a given list of allocations \
18                        the tool prints various information concerning the allocations \
19                        and the assignments they contain.
20
21# Web asused is deprecated and replaced by the IP Analyser.
22homepage                http://www.ripe.net/data-tools/web-asused
23# The distfiles is no longer on RIPE's FTP server ftp://ftp.ripe.net/tools/
24# could use Debian if needed
25# http://http.debian.net/debian/pool/main/a/asused/asused_3.72.orig.tar.gz
26master_sites            macports_distfiles
27
28distname                ${name}-${version}_whois_new_query_fix
29
30checksums               md5 133dba98ecc836897c8a53846d9d2463 \
31                        sha1 c81f54260488b25905f36fe22cf4257f2c6d8dd2 \
32                        rmd160 7beb7969ef19871cf0f033e3ff425ac010f470d3
33
34depends_lib             port:perl5
35
36configure.cmd           ${perl5.bin}
37configure.env           PERL_AUTOINSTALL=--skipdeps
38configure.pre_args      Makefile.PL
39configure.args          INSTALLDIRS=vendor
40
41set asconf              ${prefix}/etc/asused.conf
42
43patchfiles              patch-ipv4pack-ipv4pack.pm.diff
44
45post-patch {
46    reinplace "s|asused\\.conf|${prefix}/etc/asused\\.conf|g" ${worksrcpath}/asused.PL
47}
48
49post-destroot {
50    delete [glob ${destroot}${prefix}/lib/perl5/*/*/perllocal.pod]
51    move ${worksrcpath}/asused.conf ${destroot}${asconf}.${version}
52}
53
54notes "
55To use asused, you need to fill a config file with your registry\
56information. You can put it into the asused.conf file in the current\
57working directory, or into .asusedrc in your home directory.\
58Alternatively, you can specify an arbitary file location on the asused\
59command line with the --config switch.
60   
61The config file should contain:
62   
63REGID = your registry ID, as it was assigned by RIPE NCC
64   
65ALLOC = a set of strings, each of them should have one allocation\
66        string in a prefixed notation.
67
68There is a file in this distribution containing example data:
69${asconf}.${version}
70
71You may test asused on your system with the following command:
72    $ asused --config ${asconf}.${version}
73"
74
75livecheck.type      regex
76livecheck.url       http://ftp2.za.freebsd.org/pub/FreeBSD/distfiles/
77livecheck.regex     ${name}-(\[0-9.\]+).*\\.tar.gz
78
Note: See TracBrowser for help on using the repository browser.