source: trunk/dports/net/samba4/Portfile

Last change on this file was 148228, checked in by mps@…, 17 months ago

gnutls: update to version 3.4.11, bump to the current stable branch 3.4.x (#51147), rebuild dependents

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 148228 2016-04-30 17:55:10Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    samba4
6version                 4.0.0tp5
7revision                3
8categories              net
9platforms               darwin
10maintainers             mww
11license                 GPL-3
12description             SMB/CIFS server and client, ALPHA release
13long_description        Samba is an software suite that provides seamless file \
14                        and print services to SMB/CIFS clients. \
15                        This is an ALPHA release!
16
17homepage                http://www.samba.org/
18master_sites            http://download.samba.org/samba/ftp/samba4/ \
19                        ftp://de.samba.org/samba.org/samba4/
20distname                samba-${version}
21checksums           md5     dbc2e04455d67b01d2020808065b96df \
22                    sha1    8897cc7a824a594b3543245cdbbceaea32e9e08d \
23                    rmd160  1870f67aa851751e381a3b03dadfa1d0afa28a12
24
25depends_lib             port:gnutls port:readline port:libiconv port:popt port:sqlite3 port:zlib port:gettext
26
27worksrcdir              samba-${version}/source
28
29configure.args          --with-fhs \
30                        --mandir=${prefix}/share/man \
31                        --with-libiconv=${prefix} --with-readline=${prefix} --with-sqlite3
32
33destroot.target-append  installman
34post-destroot {
35        # add a postfix of '4' to all executables to avoid file conflicts
36        foreach dir {bin sbin} {
37                foreach bin [glob -directory "${destroot}${prefix}/${dir}" -type f *] {
38                        file rename "${bin}" "${bin}4"
39                }
40        }
41        # ..and also to the manpages
42        foreach dir [glob -directory "${destroot}${prefix}/share/man" "man\[138\]"] {
43                foreach man [glob -directory "${dir}" -type f *] {
44                        file rename "${man}" [string range "${man}" 0 [expr [string last . "${man}"] - 1]]4[string range "${man}" [string last . "${man}"] [string length "${man}"]]
45                }
46        }
47}
48
49livecheck.type  regex
50livecheck.url   http://us4.samba.org/samba/ftp/samba4/?M=D
51livecheck.regex samba-(\[0-9a-z.\]+)\\.tar\\.gz
52
Note: See TracBrowser for help on using the repository browser.