source: trunk/dports/net/ipcheck/Portfile

Last change on this file was 127289, checked in by larryv@…, 3 years ago

ipcheck: Switch from Python 2.4 to 2.7

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 127289 2014-10-24 22:37:13Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    ipcheck
6version                 0.242
7revision                1
8categories              net
9license                 GPL-2
10maintainers             nomaintainer
11description             dynamic dns client written in python
12platforms               darwin freebsd
13supported_archs noarch
14
15long_description        ipcheck updates your ip address at one of the dynamic \
16                                dns address providers like dyndns.org
17
18homepage                http://ipcheck.sourceforge.net
19#master_sites   sourceforge
20# unversioned distfile, sigh
21master_sites
22
23dist_subdir             ${name}/${version}
24distfiles               ${name}.py
25
26checksums               md5     297ac4ea00216b13a73646f0d76c267e \
27                                sha1    42b785ebf55a23d6526178f863716c35260d0d2c \
28                                rmd160  6609da8a647b0b795b6b1ce63cac59eb2fd9abd5
29
30depends_run             bin:python:python27
31
32extract {
33        file copy ${distpath}/${distfiles} ${workpath}/${name}
34}
35
36post-patch {
37        reinplace "s|/usr/bin/python|/usr/bin/env python|g" ${workpath}/${name}
38}
39
40use_configure   no
41
42build                   {}
43
44destroot {
45        xinstall -m 755 ${workpath}/${name} ${destroot}${prefix}/bin/
46}
47
48livecheck.type  regex
49livecheck.url   http://sourceforge.net/projects/ipcheck/files/
50livecheck.regex >v(\[0-9.\]+)<
Note: See TracBrowser for help on using the repository browser.