[34547] trunk/dports/devel/git-core/Portfile
raimue at macports.org
raimue at macports.org
Wed Feb 27 19:19:19 PST 2008
Revision: 34547
http://trac.macosforge.org/projects/macports/changeset/34547
Author: raimue at macports.org
Date: 2008-02-27 19:19:19 -0800 (Wed, 27 Feb 2008)
Log Message:
-----------
devel/git-core:
Add a +gitweb variant
Modified Paths:
--------------
trunk/dports/devel/git-core/Portfile
Modified: trunk/dports/devel/git-core/Portfile
===================================================================
--- trunk/dports/devel/git-core/Portfile 2008-02-28 03:09:17 UTC (rev 34546)
+++ trunk/dports/devel/git-core/Portfile 2008-02-28 03:19:19 UTC (rev 34547)
@@ -76,6 +76,23 @@
checksums-append git-htmldocs-${version}${extract.suffix} sha1 aad6c2b3d69f18f59f1dbdd2cc8baf7ea4a87002
}
+variant gitweb description {Install gitweb.cgi} {
+ build.target-append gitweb/gitweb.cgi
+
+ post-destroot {
+ xinstall -d ${destroot}${prefix}/share/${name}/gitweb
+ xinstall -m 444 -W ${worksrcpath}/gitweb \
+ gitweb.cgi \
+ gitweb.css \
+ git-favicon.png \
+ git-logo.png \
+ ${destroot}${prefix}/share/${name}/gitweb
+ xinstall -d ${destroot}${prefix}/share/doc/${name}/gitweb
+ xinstall -m 444 -W ${worksrcpath}/gitweb README INSTALL \
+ ${destroot}${prefix}/share/doc/${name}/gitweb
+ }
+}
+
variant svn description {Bi-directional subversion repository support} {
depends_run-append port:subversion port:p5-libwww-perl port:p5-svn-simple port:p5-term-readkey
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080227/73b61f55/attachment.html
More information about the macports-changes
mailing list