I already find the current Makefile.template quite wordy and I think
most of the suggested lines belong in bsd.port.mk(5). I would rather
go for a clear hint at the top of the template that new porters should
study bsd.port.mk(5) and the porting guide in the FAQ.

[...]

> @@ -45,12 +47,13 @@ DISTNAME =        ???
>  # 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
> -#SHARED_LIBS =       ???
> +#SHARED_LIBS =       ???     0.0

I'm okay with this one. It doesn't add more lines and nudges the porter
in the right direction.

[...]

> +# https preferred for HOMEPAGE
>  #HOMEPAGE =  ???     URL

How about: #HOMEPAGE = https:// ???     URL
This might be enough to get more new ports to go for https without
adding more lines.

All other suggested changes are too much IMO and are more of a tutorial
than a template.

Reply via email to