[145256] trunk/dports/devel/qca/Portfile
michaelld at macports.org
michaelld at macports.org
Fri Jan 29 14:59:33 PST 2016
Revision: 145256
https://trac.macports.org/changeset/145256
Author: michaelld at macports.org
Date: 2016-01-29 14:59:33 -0800 (Fri, 29 Jan 2016)
Log Message:
-----------
qca: fix +examples.
Modified Paths:
--------------
trunk/dports/devel/qca/Portfile
Modified: trunk/dports/devel/qca/Portfile
===================================================================
--- trunk/dports/devel/qca/Portfile 2016-01-29 21:13:41 UTC (rev 145255)
+++ trunk/dports/devel/qca/Portfile 2016-01-29 22:59:33 UTC (rev 145256)
@@ -85,6 +85,8 @@
}
}
+variant examples description {Include examples in install} {}
+
# set install directory for mkspec files
configure.args-append \
@@ -159,10 +161,7 @@
ln -s ${tf_full}/qca ${dr_libs_dir}/libqca.${qca_major}.${qca_minor}.dylib
ln -s ${tf_full}/qca ${dr_libs_dir}/libqca.${qca_major}.${qca_minor}.${qca_patch}.dylib
- }
-
- variant examples description {Include examples in install} {
- post-destroot {
+ if {[variant_isset examples]} {
xinstall -d -m 755 ${destroot}${prefix}/share/examples/${name}
eval file copy [glob ${worksrcpath}/examples/*] \
${destroot}${prefix}/share/examples/${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160129/70f51132/attachment.html>
More information about the macports-changes
mailing list