On 2023/11/13 13:49:03 +0100, Stefan Hagen <sh+openbsd-po...@codevoid.de> wrote: > Hi, > > DIST_TUPLE did not yet make it into the Makefile.template. > > OK to add it under the GH_ parts?
why not replacing GH_* completely with this in the template? There is still stuff that explicitly depends on GH_*? (except go.port.mk) > Index: infrastructure/templates/Makefile.template > =================================================================== > RCS file: /cvs/ports/infrastructure/templates/Makefile.template,v > diff -u -p -u -p -r1.99 Makefile.template > --- infrastructure/templates/Makefile.template 15 Oct 2023 11:22:01 > -0000 1.99 > +++ infrastructure/templates/Makefile.template 13 Nov 2023 12:47:58 > -0000 > @@ -48,6 +48,11 @@ DISTNAME = ??? > #GH_TAGNAME = 1.0 > #GH_COMMIT = abab123456789abacafeabab123123b1e4ble4bl > > +# it is preferred to us the shorter dist tuple mechanism for sites that > +# are supported. See infrastructure/db/dist-tuple.pattern for details. > +# DIST_TUPLE += <site> <account> <project> <tag/commit> <extractdir> # > <license> > +# DIST_TUPLE += gitlab vim vim v9.0.1677 . # VIM License / donation-ware > + > # for any port that creates shared libraries. > # both libtool and cmake automatically set filenames based on this variable. > # for libtool- or cmake-based ports, have a look at WRKBUILD/shared_libs.log