<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">from <a href="https://github.com/rodneyrehm/CFPropertyList" class="">https://github.com/rodneyrehm/CFPropertyList</a> i would like to create a local port.<div class=""><br class=""></div><div class="">my Portfile:</div><div class="">----------------------------------------------------------------------</div><div class=""># -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4</div><div class=""><div class=""><br class=""></div><div class=""># 20180302 pdv created</div><div class=""># - version initially taken from <a href="https://github.com/rodneyrehm/CFPropertyList/releases" class="">https://github.com/rodneyrehm/CFPropertyList/releases</a></div><div class=""><br class=""></div><div class="">PortSystem          1.0</div><div class="">PortGroup           github 1.0</div><div class="">github.setup        rodneyrehm CFPropertyList 2.0.1</div><div class="">github.tarball_from releases</div><div class=""><br class=""></div><div class="">name                CFPropertyList</div><div class="">categories          php</div><div class="">platforms           darwin</div><div class="">license             MIT</div><div class="">maintainers         nomaintainer</div><div class=""><br class=""></div><div class="">description         PHP implementation of Apple's PropertyList</div><div class="">long_description    ${description}</div><div class=""><br class=""></div><div class="">master_sites        <a href="https://codeload.github.com/${github.author}/${github.project}/tar.gz/${version}" class="">https://codeload.github.com/${github.author}/${github.project}/tar.gz/${version}</a></div><div class=""><br class=""></div><div class="">checksums           rmd160  a579aac7b18578f1b1a3c651037a0b79fb130db9 \</div><div class="">                    sha256  e64756a876f196c7acf2c91a9f55c8219fb5b7607a406a980a1907c8b92c4ffb</div><div class=""><br class=""></div><div class="">use_configure       no</div><div class="">build               {}</div><div class="">destroot {</div><div class="">    file mkdir ${destroot}${prefix}/lib/php/github</div><div class="">    copy ${worksrcpath} ${destroot}${prefix}/lib/php/github/${github.project}</div><div class="">}</div><div class=""><br class=""></div><div class="">livecheck.type      regex</div><div class="">livecheck.url       <a href="https://github.com/${github.author}/${github.project}/releases" class="">https://github.com/${github.author}/${github.project}/releases</a></div><div class="">livecheck.regex     archive/(\[^"\]+)${extract.suffix}</div><div class=""><br class=""></div><div class="">#EOF</div>
<div class="">----------------------------------------------------------------------</div></div><div class="">and i know the checksums do not yet match.</div><div class=""><br class=""></div><div class="">my log extract:</div><div class=""><div class="">----------------------------------------------------------------------</div></div><div class=""><div class="">$ sudo port install CFPropertyList</div><div class="">Portfile changed since last build; discarding previous state.</div><div class="">--->  Fetching distfiles for CFPropertyList</div><div class="">--->  Attempting to fetch CFPropertyList-2.0.1.tar.gz from <a href="https://distfiles.macports.org/CFPropertyList" class="">https://distfiles.macports.org/CFPropertyList</a></div><div class="">--->  Attempting to fetch CFPropertyList-2.0.1.tar.gz from <a href="http://lil.fr.distfiles.macports.org/CFPropertyList" class="">http://lil.fr.distfiles.macports.org/CFPropertyList</a></div><div class="">--->  Attempting to fetch CFPropertyList-2.0.1.tar.gz from <a href="http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/CFPropertyList" class="">http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/CFPropertyList</a></div><div class="">--->  Attempting to fetch CFPropertyList-2.0.1.tar.gz from <a href="http://nue.de.distfiles.macports.org/CFPropertyList" class="">http://nue.de.distfiles.macports.org/CFPropertyList</a></div><div class="">--->  Attempting to fetch CFPropertyList-2.0.1.tar.gz from <a href="http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/CFPropertyList" class="">http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/CFPropertyList</a></div><div class="">--->  Attempting to fetch CFPropertyList-2.0.1.tar.gz from </div><div class="">                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^</div><div class=""><a href="https://codeload.github.com/rodneyrehm/CFPropertyList/tar.gz/2.0.1" class="">https://codeload.github.com/rodneyrehm/CFPropertyList/tar.gz/2.0.1</a></div></div><div class="">(and some more)</div><div class=""><div class="">----------------------------------------------------------------------</div><div class="">apparently there is something wrong in the 'master_sites'. i took this from a working example for php pear tcpdf.</div><div class=""><br class=""></div><div class="">i understood from <a href="http://thegreyblog.blogspot.nl/2014/08/writing-macports-portfile-and-testing.html" class="">http://thegreyblog.blogspot.nl/2014/08/writing-macports-portfile-and-testing.html</a> that github is a standard feature in macports but i cannot find better documentation.</div><div class=""><br class=""></div><div class="">Q1: can anyone help me on this?</div><div class=""><br class=""></div><div class="">Q2: is it perhaps better to user php composer (not available from macports)?</div><div class=""><br class=""></div><div class="">thanks,</div><div class="">pdv.</div><div class=""></div></div></body></html>