On Sun, 2 Feb 2020 19:52:24 +0000 Stuart Henderson <s...@spacehopper.org> wrote:
> On 2020/02/02 11:18, Greg Steuck wrote: > > +BUILD_DEPENDS= archivers/unzip > > + > > +NO_BUILD= Yes > > +NO_TEST= Yes > > +PKG_ARCH= * > > + > > +DISTFILES= JetBrainsMono-1.0.2.zip > > rather than setting DISTFILES it should use EXTRACT_SUFX.... lowercase > packagename is > preferred. you could do e.g. > > DISTNAME= JetBrainsMono-1.0.2 > EXTRACT_SUFX= .zip > PKGNAME= ${DISTNAME:L} > > or something like this so the package name matches the dir name better: > > V= 1.0.2 > DISTNAME= JetBrainsMono-$V > EXTRACT_SUFX= .zip > PKGNAME= jetbrains-mono-$V After you set 'EXTRACT_SUFX= .zip', bsd.port.mk should add an automatic dependency on unzip, so you may delete your BUILD_DEPENDS line. Use 'make print-build-depends' to check. --George