Ticket #35489: Portfile.diff
File Portfile.diff, 1.9 KB (added by fracai, 12 years ago) |
---|
-
Portfile
old new 5 5 6 6 name sslh 7 7 epoch 1 8 version 1.12 8 version 1.13 9 set sub_version b ; # "" for no sub_version 9 10 categories net security www 10 11 platforms darwin 11 12 maintainers madlon-kay.com:macports openmaintainer … … 22 23 homepage http://www.rutschle.net/tech/sslh.shtml 23 24 master_sites http://www.rutschle.net/tech/ 24 25 25 checksums rmd160 9d870cbb92f818642d7795d8c1a812150ca7679c \ 26 sha256 f986625bcc8b612754b2b8c95f87eb717f54f08c356882ff2ce0b090be0c29d6 26 distname ${name}-${version}${sub_version} 27 worksrcdir ${name}-${version} 28 29 checksums rmd160 9805fa973c773cc6d633523324de2a6a7aa9ec36 \ 30 sha256 e6493b53767b542652e99e64a1bceeded1d01a5e7a083fde9d67e7550f9c0eec 31 32 depends_lib lib:libconfig.a:libconfig-hr 27 33 28 34 use_configure no 29 35 30 36 variant universal {} 31 37 32 build.args CC="${configure.cc} [get_canonical_archflags cc]" USELIBCONFIG=38 build.args CC="${configure.cc} [get_canonical_archflags cc]" 33 39 34 40 destroot { 35 xinstall ${worksrcpath}/sslh-fork ${destroot}${prefix}/sbin/sslh 41 xinstall -m 0755 ${worksrcpath}/sslh-fork ${destroot}${prefix}/sbin/ 42 xinstall -m 0755 ${worksrcpath}/sslh-select ${destroot}${prefix}/sbin/ 43 44 ln -s ${prefix}/sbin/sslh-fork ${destroot}${prefix}/sbin/sslh 45 36 46 xinstall -m 0644 ${worksrcpath}/sslh.8.gz ${destroot}${prefix}/share/man/man8/ 47 48 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/ 49 50 xinstall -m 0644 ${worksrcpath}/example.cfg ${destroot}${prefix}/share/doc/${name}/ 51 52 xinstall -m 0644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}/ 53 xinstall -m 0644 ${worksrcpath}/README.MacOSX ${destroot}${prefix}/share/doc/${name}/ 37 54 }