source: trunk/dports/aqua/vineserver/Portfile @ 110470

Last change on this file since 110470 was 96065, checked in by ryandesign@…, 7 years ago

vineserver: fix livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 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 96065 2012-07-30 17:17:02Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               xcode 1.0
6
7name                    vineserver
8version                 3.1
9revision                1
10categories              aqua vnc
11homepage                http://www.testplant.com/products/vine_server
12maintainers             ryandesign
13supported_archs         i386 ppc
14
15fetch.type              cvs
16cvs.root                :pserver:anonymous@osxvnc.cvs.sourceforge.net:/cvsroot/osxvnc
17cvs.module              OSXvnc
18cvs.tag                 V[strsed ${version} {g/\./_/}]
19worksrcdir              OSXvnc
20
21description \
22    a full-featured VNC server (formerly OSXvnc)
23
24long_description \
25    Vine Server (formerly OSXvnc) is a full-featured VNC server \
26    for Mac OS X providing remote access to the GUI, keyboard and \
27    mouse using any VNC client.
28
29depends_build \
30    port:libiconv
31
32depends_lib \
33    port:zlib
34
35patchfiles \
36    patch-project.pbxproj.diff \
37    patch-rfb.h.diff
38
39post-patch {
40    # Make all strings UTF-16 so CopyStringsFile doesn't fail on Leopard. See #15919.
41    set language_encodings {
42        English utf-8
43        German macroman
44        Italian macroman
45        Japanese utf-8
46    }
47    foreach {language encoding} ${language_encodings} {
48        system -W ${worksrcpath}/${language}.lproj "cp -p Localizable.strings Localizable.strings.orig && ${prefix}/bin/iconv -f ${encoding} -t utf-16 Localizable.strings.orig > Localizable.strings"
49    }
50}
51
52post-destroot {
53    # Fix permissions for users not installing with root
54    fs-traverse dir ${workpath} {
55        if {[file isdirectory ${dir}]} {
56            file attributes ${dir} -permissions 0755
57        }
58    }
59}
60
61livecheck.type          regex
62livecheck.url           http://www.testplant.com/support/downloads/vine/
63livecheck.regex         {>Vine Server ([0-9.]+)<}
Note: See TracBrowser for help on using the repository browser.