projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test keytrans in addition to testing the basic suite
[monkeysphere.git]
/
packaging
/
macports
/
Portfile
diff --git
a/packaging/macports/Portfile
b/packaging/macports/Portfile
index 290edfdd84d0f045962432445009923b1008b0e2..d73a6560d418ae0430d7f8c7049c3359ba437e82 100644
(file)
--- a/
packaging/macports/Portfile
+++ b/
packaging/macports/Portfile
@@
-20,8
+20,9
@@
platforms darwin
depends_run bin:ssh:openssh \
port:gnupg \
depends_run bin:ssh:openssh \
port:gnupg \
- port:perl5.10 \
- port:p5-crypt-rsa \
+ port:perl5 \
+ port:p5-crypt-openssl-rsa \
+ port:p5-crypt-openssl-bignum \
port:p5-digest-sha1 \
port:procmail
port:p5-digest-sha1 \
port:procmail
@@
-34,6
+35,7
@@
checksums md5 8590532f4702fa44027a6a583657c9ef
use_configure no
post-build {
use_configure no
post-build {
+ # update paths to SYS*DIRs
exec sed -i .tmp -e "s|/etc/monkeysphere|${prefix}/etc/monkeysphere|g" \
${worksrcpath}/src/share/defaultenv \
${worksrcpath}/src/transitions/0.23 \
exec sed -i .tmp -e "s|/etc/monkeysphere|${prefix}/etc/monkeysphere|g" \
${worksrcpath}/src/share/defaultenv \
${worksrcpath}/src/transitions/0.23 \
@@
-53,6
+55,12
@@
post-build {
${worksrcpath}/src/monkeysphere-host \
${worksrcpath}/src/monkeysphere-authentication \
${worksrcpath}/src/monkeysphere
${worksrcpath}/src/monkeysphere-host \
${worksrcpath}/src/monkeysphere-authentication \
${worksrcpath}/src/monkeysphere
+
+ # fix perl shebang line to point to macports perl install
+ exec sed -i .tmp -e "s|^#!/usr/bin/perl -T$|#!/opt/local/bin/perl -T|" \
+ ${worksrcpath}/src/share/keytrans
+
+ # remove leftover sed cruft
exec find ${worksrcpath} -name *.tmp -delete
}
exec find ${worksrcpath} -name *.tmp -delete
}