[23030] trunk/dports/devel/git-core/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Mar 22 13:38:54 PDT 2007


Revision: 23030
          http://trac.macosforge.org/projects/macports/changeset/23030
Author:   pipping at macports.org
Date:     2007-03-22 13:38:54 -0700 (Thu, 22 Mar 2007)

Log Message:
-----------
 * bump to version 1.5.0.5 (jon.olsson at gmail.com, #11598) w/ permission o.m.
 * install all manpages to /share/man/...

Modified Paths:
--------------
    trunk/dports/devel/git-core/Portfile

Modified: trunk/dports/devel/git-core/Portfile
===================================================================
--- trunk/dports/devel/git-core/Portfile	2007-03-22 19:35:46 UTC (rev 23029)
+++ trunk/dports/devel/git-core/Portfile	2007-03-22 20:38:54 UTC (rev 23030)
@@ -2,7 +2,7 @@
 
 PortSystem 1.0
 name		git-core
-version		1.5.0.3
+version         1.5.0.5
 description	The stupid content tracker.
 long_description	A stupid (but extremely fast) directory \
 			content manager. It doesn't do a whole lot, \
@@ -17,8 +17,9 @@
 distname        git-${version}
 distfiles       git-${version}${extract.suffix} \
                 git-manpages-${version}${extract.suffix}
-checksums	git-${version}${extract.suffix} sha1 b061b7cfa4fec5591a58362ae96ff596a3d399c5 \
-                git-manpages-${version}${extract.suffix} sha1 b8303904e69fe5b20bcbe5f5348f51936c5e8f96
+
+checksums       git-${version}${extract.suffix} sha1 c765246e8a5bbdef0469bd2b22f604887c40bec0 \
+                git-manpages-${version}${extract.suffix} sha1 bfe8472f3d33058596e28ae4eb7e81ebf6db15b1
 depends_run	port:curl port:diffutils port:tk \
 		port:openssh port:python24 port:rsync \
 		port:gsed
@@ -34,8 +35,16 @@
 destroot.destdir DESTDIR=${destroot} prefix=${prefix}
 destroot.target	install
 
-post-build {
-    system "cd ${worksrcpath}/.. && pax -rw -s,man7/git.7,man1/git.1, man1 man7 ${prefix}/man"
+post-destroot {
+	cd ${workpath}
+	foreach f {1 7} {
+		xinstall -d ${destroot}${prefix}/share/man/man${f}
+		foreach m [glob man${f}/*.${f}] {
+			xinstall ${m} ${destroot}${prefix}/share/man/man${f}
+		}
+	}
+	file rename -force ${destroot}${prefix}/man/man3 \
+	${destroot}${prefix}/share/man
 }
 
 variant doc {
@@ -43,4 +52,3 @@
 	build.target-append	doc
 	destroot.target-append	install-doc
 }
-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070322/f59ee66b/attachment.html


More information about the macports-changes mailing list