From: Stuart Henderson Subject: Re: [UPDATE] cad/openscad to 2025.10.14 To: Johannes Thyssen Tishman , ports@openbsd.org Date: Fri, 28 Nov 2025 13:12:58 +0000 > > 3. Use ${FILESDIR} for startup script. This is just preference. Please > > ignore if you disagree. > > Are we allowed to hardcode ${LOCALBASE} line this? I know there has > been discussion in the past about it. I could use this and PKG_SUBST, > but seemed overkill for a two-line file. > > + ${INSTALL_SCRIPT} ${FILESDIR}/openscad ${PREFIX}/bin/openscad ${SUBST_PROGRAM} ${FILESDIR}/openscad ${PREFIX}/bin/openscad > > diff -rNup /tmp/openscad/files/openscad /usr/ports/cad/openscad/files/openscad > > --- /tmp/openscad/files/openscad Thu Jan 1 01:00:00 1970 > > +++ /usr/ports/cad/openscad/files/openscad Tue Nov 25 15:00:14 2025 > > @@ -0,0 +1,3 @@ > > +#!/bin/sh > > + > > +exec /usr/local/libexec/openscad "$@" ${TRUEPREFIX} (localbase is "files from another port", prefix/trueprefix "files from this port")