[90440] trunk/dports/devel/git-core/Portfile
cal at macports.org
cal at macports.org
Mon Mar 5 10:43:24 PST 2012
Revision: 90440
http://trac.macports.org/changeset/90440
Author: cal at macports.org
Date: 2012-03-05 10:43:24 -0800 (Mon, 05 Mar 2012)
Log Message:
-----------
git-core: Provide variant installing git-credential-osxkeychain.
Modified Paths:
--------------
trunk/dports/devel/git-core/Portfile
Modified: trunk/dports/devel/git-core/Portfile
===================================================================
--- trunk/dports/devel/git-core/Portfile 2012-03-05 18:35:42 UTC (rev 90439)
+++ trunk/dports/devel/git-core/Portfile 2012-03-05 18:43:24 UTC (rev 90440)
@@ -185,6 +185,18 @@
}
}
+
+variant credential_osxkeychain description {Install git credential-osxkeychain utility from contrib} {
+ post-build {
+ system -W "${worksrcpath}/contrib/credential/osxkeychain" "make CC='${configure.cc}' CFLAGS='${configure.cflags}'"
+ }
+
+ post-destroot {
+ xinstall -m 755 "${worksrcpath}/contrib/credential/osxkeychain/git-credential-osxkeychain" \
+ "${destroot}${prefix}/bin/"
+ }
+}
+
default_variants +doc +pcre
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120305/a38eca64/attachment.html>
More information about the macports-changes
mailing list