[28666] trunk/dports/net
source_changes at macosforge.org
source_changes at macosforge.org
Thu Sep 6 05:49:47 PDT 2007
Revision: 28666
http://trac.macosforge.org/projects/macports/changeset/28666
Author: mww at macports.org
Date: 2007-09-06 05:49:47 -0700 (Thu, 06 Sep 2007)
Log Message:
-----------
new port net/samba4 - ALPHA release
Added Paths:
-----------
trunk/dports/net/samba4/
trunk/dports/net/samba4/Portfile
Added: trunk/dports/net/samba4/Portfile
===================================================================
--- trunk/dports/net/samba4/Portfile (rev 0)
+++ trunk/dports/net/samba4/Portfile 2007-09-06 12:49:47 UTC (rev 28666)
@@ -0,0 +1,49 @@
+# $Id: $
+
+PortSystem 1.0
+
+name samba4
+version 4.0.0alpha1
+categories net
+platforms darwin
+maintainers mww at macports.org
+description SMB/CIFS server and client, ALPHA release
+long_description Samba is an software suite that provides seamless file \
+ and print services to SMB/CIFS clients. \
+ This is an ALPHA release!
+
+homepage http://www.samba.org/
+master_sites http://download.samba.org/samba/ftp/samba4/
+distname samba-${version}
+checksums sha1 5c1141fd68804b0b8ede261c6d988fee5dbf0d94
+
+depends_lib port:gnutls port:readline port:libiconv port:popt port:sqlite3 port:zlib port:gettext
+
+worksrcdir samba-${version}/source
+
+configure.args --includedir=${prefix}/include/${name} \
+ --libdir=${prefix}/lib/${name} \
+ --datarootdir=${prefix}/share/${name} \
+ --mandir=${prefix}/share/man \
+ --with-libiconv=${prefix} --with-readline=${prefix} --with-sqlite3
+
+destroot.target-append installman
+post-destroot {
+ # add a postfix of '4' to all executables to avoid file conflicts
+ foreach dir {bin sbin} {
+ foreach bin [glob -directory "${destroot}${prefix}/${dir}" -type f *] {
+ file rename "${bin}" "${bin}4"
+ }
+ }
+ # ..and also to the manpages
+ foreach dir [glob -directory "${destroot}${prefix}/share/man" "man\[138\]"] {
+ foreach man [glob -directory "${dir}" -type f *] {
+ file rename "${man}" [string range "${man}" 0 [expr [string last . "${man}"] - 1]]4[string range "${man}" [string last . "${man}"] [string length "${man}"]]
+ }
+ }
+}
+
+livecheck.check regex
+livecheck.url http://us4.samba.org/samba/ftp/samba4/?M=D
+livecheck.regex samba-(\[0-9a-z.\]+)\\.tar\\.gz
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070906/8e51e82b/attachment.html
More information about the macports-changes
mailing list