source: trunk/dports/net/nxcomp/Portfile

Last change on this file was 153433, checked in by ionic@…, 14 months ago

net/nxcomp: add cp-compat patch for 10.5 and below. Fixes: #52454.

Older OS X versions of Apple cp don't have an -a flag, instead use the
equivalent -pPR flags.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 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 153433 2016-09-30 02:58:22Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    nxcomp
7version                 3.5.0.32
8revision                0
9checksums               rmd160  586897c72b64afd26ad78648efef70320784e49e \
10                        sha256  b5ab9f0ae35cdf6c3e26484d2a2ca55cd0225b6d8693f5544a096b19585bc50a
11
12categories              net
13platforms               darwin
14license                 GPL-2
15
16maintainers             ionic openmaintainer
17
18description             nxcomp is the X compression library by NX
19long_description        nxcomp is a library compressing X commands to be passed over network \
20                        for use with the X2Go suite.
21
22homepage                http://wiki.x2go.org/doku.php/wiki:libs:nx-libs
23master_sites            http://code.x2go.org/releases/source/nx-libs/
24distname                nx-libs-${version}-lite
25
26universal_variant       yes
27supported_archs         ppc i386 x86_64
28
29use_autoreconf          yes
30
31configure.cxxflags-append \
32                        -I${prefix}/include
33
34if {${name} eq ${subport}} {
35    depends_lib-append  port:libpng \
36                        path:lib/libjpeg.dylib:jpeg \
37                        port:zlib \
38                        port:xorg-xproto
39
40    worksrcdir          nx-libs-${version}/nxcomp
41
42    if {${os.major} < 10} {
43        patchfiles          patch-nxcomp_cp-compat-for-10.5-.diff
44    }
45
46    livecheck.url       [lindex ${master_sites} 0]
47    livecheck.regex     nx-libs-(\[0-9\]+(\\.\[0-9\]+)+(-\[0-9\]+)?)-lite
48} else {
49    livecheck.type      none
50}
51
52subport nxproxy {
53    description         nxproxy is a compressing proxy for X
54    long_description    nxproxy is a library compressing X commands to be passed over network \
55                        for use with the X2Go suite.
56
57    depends_lib-append  port:nxcomp
58
59    worksrcdir          nx-libs-${version}/nxproxy
60
61    patchfiles          patch-nxproxy_configure.in.diff \
62                        patch-nxproxy_Makefile.in.diff
63
64    configure.ldflags-append \
65                        -L${prefix}/lib/nx
66}
Note: See TracBrowser for help on using the repository browser.