X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=packaging%2Fmacports%2FPortfile;h=e6176d0d313309f221b0c163a310180708910903;hb=0e2af948ab640cd4865d41951c7b8c2a35437f59;hp=f9cf7a5385569bf36275e6c62cfbdd77ed3582b7;hpb=45d416f40d4a300b71a83f67b1324dd8744d4b3a;p=monkeysphere.git diff --git a/packaging/macports/Portfile b/packaging/macports/Portfile index f9cf7a5..e6176d0 100644 --- a/packaging/macports/Portfile +++ b/packaging/macports/Portfile @@ -2,14 +2,11 @@ # $Id$ PortSystem 1.0 - name monkeysphere version 0.24 -categories net +categories net security maintainers nomaintainer -platforms darwin description use the OpenPGP web of trust to verify ssh connections - long_description SSH key-based authentication is tried-and-true, \ but it lacks a true Public Key Infrastructure for \ key certification, revocation and expiration. \ @@ -18,12 +15,8 @@ long_description SSH key-based authentication is tried-and-true, \ used in both directions: for users to get \ validated host keys, and for hosts to authenticate \ users. - homepage http://web.monkeysphere.info/ -master_sites ??? -distname ${name}_${version} -worksrcdir ${name}-${version} -checksums md5 8590532f4702fa44027a6a583657c9ef +platforms darwin depends_run bin:ssh:openssh \ port:gnupg \ @@ -32,9 +25,28 @@ depends_run bin:ssh:openssh \ port:p5-digest-sha1 \ port:procmail -build.target build -destroot.args PREFIX=${destroot}${prefix} \ - CONFDIR=${destroot}${prefix}/etc/monkeysphere \ - DBDIR=${destroot}${prefix}/var/lib/monkeysphere \ - MANDIR=${destroot}${prefix}/share/man \ - DOCDIR=${destroot}${prefix}/share/doc/monkeysphere +master_sites http://archive.monkeysphere.info/debian/pool/monkeysphere/m/monkeysphere/ +distname ${name}_${version} +extract.suffix .orig.tar.gz +worksrcdir ${name}-${version} +checksums md5 8590532f4702fa44027a6a583657c9ef + +patch.dir ${worksrcpath} +patch.cmd make +patch.args -f Makefile \ + WRKSRC=${worksrcpath} \ + SYSETCDIR=${destroot}${prefix}/etc/monkeysphere \ + SYSDATADIR=${destroot}${prefix}/var/db/monkeysphere \ + SYSSHAREDIR=${destroot}${prefix}/share/monkeysphere \ + post-patch + +use_configure no + +destroot.destdir DESTDIR=${destroot}${prefix} +destroot.args PREFIX= + +# variant to use the port version of bash, which may be much newer +# than the one provided by the system +variant port-bash description {use port version of Bash} { + depends_run-append port:bash +}