source: trunk/dports/net/samba4/Portfile @ 29789

Last change on this file since 29789 was 29789, checked in by ryandesign@…, 13 years ago

Set svn:keywords of all portfiles to Id as per current requirements

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