Modified: trunk/dports/python/py31-djvubind/Portfile (77459 => 77460)
--- trunk/dports/python/py31-djvubind/Portfile 2011-03-31 13:08:14 UTC (rev 77459)
+++ trunk/dports/python/py31-djvubind/Portfile 2011-03-31 13:12:12 UTC (rev 77460)
@@ -35,23 +35,26 @@
rmd160 2b45ef90d98204097131e9ec38361038a00f8780
patchfiles patch-setup.py.diff
-post-patch { reinplace "s|/usr/bin/env python3|${python.bin}|" ${worksrcpath}/bin/djvubind
+post-patch {
+ reinplace "s|/usr/bin/env python3|${python.bin}|" ${worksrcpath}/bin/djvubind
}
python.link_binaries_suffix
set sysconfigdir etc/djvubind
-post-destroot { ln -s "${python.prefix}/share/man/man1/djvubind.1.gz" "${destroot}${prefix}/share/man/man1/djvubind${python.link_binaries_suffix}.1.gz"
- set docdir ${destroot}${prefix}/share/doc/${name}
- xinstall -d ${docdir}
- xinstall -m 644 -W ${worksrcpath} \
- README \
- docs/changelog \
- ${docdir}
- xinstall -d ${destroot}${prefix}/${sysconfigdir}
- move ${destroot}${python.prefix}/etc/djvubind/config \
- ${destroot}${prefix}/${sysconfigdir}/config.sample
+post-destroot {
+ ln -s "${python.prefix}/share/man/man1/djvubind.1.gz" \
+ "${destroot}${prefix}/share/man/man1/djvubind${python.link_binaries_suffix}.1.gz"
+ set docdir ${destroot}${prefix}/share/doc/${name}
+ xinstall -d ${docdir}
+ xinstall -m 644 -W ${worksrcpath} \
+ README \
+ docs/changelog \
+ ${docdir}
+ xinstall -d ${destroot}${prefix}/${sysconfigdir}
+ move ${destroot}${python.prefix}/etc/djvubind/config \
+ ${destroot}${prefix}/${sysconfigdir}/config.sample
}
post-activate {