Re: Package a second port (gitlab-ee instead of gitlab-ce)
Date: Fri, 12 Apr 2024 06:17:55 UTC
On Fri, Apr 12, 2024 at 7:54 AM Matthias Fechner <mfechner@freebsd.org> wrote: > > Dear all, > > I maintain the www/gitlab-ce port and would like to make also a > www/gitlab-ee port available. > The ee port only needs another distfile and some very small > modifications in the FreeBSD Makefile. > > Is a slave port here an option? > > Or should I use another technique (maybe just include the gitlab-ce > Makefile in the ee port and overwrite and extend some targets?) > > Maybe someone has a suggestion here? > > Here a short diff, it will maybe best explain what I want: > https://gitlab.fechner.net/mfechner/Gitlab/-/commit/6240f36dba538becb3482d0d3a16af2cd873bd31 The - GL_PROJECT= gitlab-foos + GL_PROJECT= gitlab part makes it use a completely different distfile. The problem is best solved by using FLAVORS, I guess. See https://docs.freebsd.org/en/books/porters-handbook/book/#flavors