[116589] trunk/dports/python/py-djvubind/Portfile
raphael at macports.org
raphael at macports.org
Wed Jan 29 09:55:06 PST 2014
Revision: 116589
https://trac.macports.org/changeset/116589
Author: raphael at macports.org
Date: 2014-01-29 09:55:06 -0800 (Wed, 29 Jan 2014)
Log Message:
-----------
py-djvubind: avoid conflicts between subports, closes #42308
Modified Paths:
--------------
trunk/dports/python/py-djvubind/Portfile
Modified: trunk/dports/python/py-djvubind/Portfile
===================================================================
--- trunk/dports/python/py-djvubind/Portfile 2014-01-29 17:36:11 UTC (rev 116588)
+++ trunk/dports/python/py-djvubind/Portfile 2014-01-29 17:55:06 UTC (rev 116589)
@@ -6,6 +6,7 @@
name py-djvubind
version 1.2.1
+revision 1
python.versions 31 32 33
python.default_version 32
platforms darwin
@@ -41,8 +42,6 @@
reinplace "s|/usr/bin/env python3|${python.bin}|" ${worksrcpath}/bin/djvubind
}
- python.link_binaries_suffix
-
set sysconfigdir etc/djvubind
post-destroot {
@@ -56,12 +55,12 @@
${docdir}
xinstall -d ${destroot}${prefix}/${sysconfigdir}
move ${destroot}${python.prefix}/etc/djvubind/config \
- ${destroot}${prefix}/${sysconfigdir}/config.sample
+ ${destroot}${prefix}/${sysconfigdir}/config${python.link_binaries_suffix}.sample
}
post-activate {
if {![file exists ${prefix}/${sysconfigdir}/config]} {
- copy ${prefix}/${sysconfigdir}/config.sample ${prefix}/${sysconfigdir}/config
+ copy ${prefix}/${sysconfigdir}/config${python.link_binaries_suffix}.sample ${prefix}/${sysconfigdir}/config
}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140129/a399c3cd/attachment.html>
More information about the macports-changes
mailing list