This worked: use_autoreconf yes autoreconf.dir ${worksrcpath}/generic/libreduce/src
pre-configure { set builddir [exec ${worksrcpath}/scripts/findhost.sh [exec ${worksrcpath}/config.guess]] set redbin ${prefix}/libexec/${name}/csl/reduce.app/Contents/MacOS/reduce configure.dir ${worksrcpath}/generic/libreduce/${builddir} configure.cmd ${autoreconf.dir}/configure configure.args-append \ --disable-universal \ --with-reduce=${redbin} xinstall -d ${configure.dir} } pre-build { set builddir [exec ${worksrcpath}/scripts/findhost.sh [exec ${worksrcpath}/config.guess]] build.dir ${worksrcpath}/generic/libreduce/${builddir} } Since the documentation is nonexistent, I’d like to copy the source to the share directory. Can you use the copy macro to copy directories to destroot, indicating individual files within to ignore? Mark Brethen mark.bret...@gmail.com > On Oct 4, 2018, at 12:24 PM, Ryan Schmidt <ryandes...@macports.org> wrote: > > On Oct 4, 2018, at 12:24, Mark Brethen wrote: >> >> I only need to set it during build and destroot. How about setting the >> variable in the pre-build and pre-destroot phases? > > If that's easier, yes, you can do that. >