[96993] trunk/dports/net/youtube-upload/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri Aug 24 00:38:00 PDT 2012
Revision: 96993
https://trac.macports.org/changeset/96993
Author: ryandesign at macports.org
Date: 2012-08-24 00:37:57 -0700 (Fri, 24 Aug 2012)
Log Message:
-----------
youtube-upload: add documentation and extra scripts; add py-progressbar dependency
Modified Paths:
--------------
trunk/dports/net/youtube-upload/Portfile
Modified: trunk/dports/net/youtube-upload/Portfile
===================================================================
--- trunk/dports/net/youtube-upload/Portfile 2012-08-24 05:55:39 UTC (rev 96992)
+++ trunk/dports/net/youtube-upload/Portfile 2012-08-24 07:37:57 UTC (rev 96993)
@@ -6,6 +6,7 @@
name youtube-upload
version 0.7.1
+revision 1
categories net
platforms darwin
maintainers ryandesign openmaintainer
@@ -24,18 +25,30 @@
checksums rmd160 f802319e49fb759ce28b20378708278089788a29 \
sha256 d0a0a2912f3b03230c819739fc6d2e15a5f5f17c8c522f4fee0aff72d9f0a5b8
+post-destroot {
+ set docdir ${prefix}/share/doc/${name}
+ xinstall -d ${destroot}${docdir} ${destroot}${prefix}/share/examples
+ xinstall -m 644 -W ${worksrcpath} \
+ CHANGELOG \
+ README \
+ ${destroot}${docdir}
+ copy ${worksrcpath}/examples ${destroot}${prefix}/share/examples/${name}
+}
+
python.link_binaries_suffix
variant python26 conflicts python27 description {Use python26} {
python.default_version 26
depends_lib-append port:py${python.version}-curl \
- port:py${python.version}-gdata
+ port:py${python.version}-gdata \
+ port:py${python.version}-progressbar
}
variant python27 conflicts python26 description {Use python27} {
python.default_version 27
depends_lib-append port:py${python.version}-curl \
- port:py${python.version}-gdata
+ port:py${python.version}-gdata \
+ port:py${python.version}-progressbar
}
if {![variant_isset python26] && ![variant_isset python27]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120824/a168e261/attachment.html>
More information about the macports-changes
mailing list