source: trunk/dports/devel/vcheck/Portfile @ 143445

Last change on this file since 143445 was 143445, checked in by mojca@…, 4 years ago

vcheck: fix wrong folder permissions

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 143445 2015-12-12 16:46:17Z mojca@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7name                vcheck
8version             1.2.1
9revision            2
10categories          devel
11license             Artistic-1
12maintainers         nomaintainer
13description         latest program package version checker and auto-downloader
14long_description    vcheck is a tool for checking for latest versions of programs at HTTP \
15                    and FTP locations given a list of URLs and (Perl-style) regular \
16                    expressions to match, and to optionally download them automatically.
17
18# broken link
19homepage            http://www.tu-ilmenau.de/~gomar/stuff/vcheck/
20platforms           darwin
21supported_archs     noarch
22master_sites        ${homepage}
23use_bzip2           yes
24
25checksums           rmd160  31f98e9010462d29ccc8de7c397740977ba30f04 \
26                    sha256  c0a8021f5af60daf54d724772c7f21dab990e89a9283eb7dfce0cc1a565d25ea
27
28# TODO: when using 5.22 there are some encoding-related build errors
29perl5.branches      5.16
30
31depends_lib         port:perl${perl5.major}
32depends_run         port:p${perl5.major}-libwww-perl
33
34post-extract {
35    # the folder has permissions 700
36    system "chmod 755 ${worksrcpath}"
37}
38
39patch {
40    reinplace "s|/usr/bin/perl|${perl5.bin}|" ${worksrcpath}/vcheck
41}
42
43use_configure       no
44
45build {
46    system "${prefix}/bin/pod2man-${perl5.major} ${worksrcpath}/vcheck >${worksrcpath}/vcheck.1"
47}
48
49post-destroot {
50    xinstall -c -m 755 ${worksrcpath}/vcheck ${destpath}${prefix}/bin/
51    xinstall -c -m 644 ${worksrcpath}/vcheck.1 ${destpath}${prefix}/share/man/man1/
52}
Note: See TracBrowser for help on using the repository browser.