pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: netmask package at wip



Am 05.11.2021 um 11:55 schrieb Francisco J. Tsao Santín:
On Thu, 4 Nov 2021, Sijmen J. Mulder wrote:
2. The first section of the Makefile can be simplified:

   DISTNAME=       netmask-2.4.4
   CATEGORIES=     sysutils
   MASTER_SITES=   ${MASTER_SITE_GITHUB:=tlby/}
   GITHUB_TAG=     v${PKGVERSION_NOREV}

pkgsrc will correctly extract the package name and version number from
DISTNAME. By using PKGVERSION_NOREV you can avoid repeating the version
number.

Ok, I think part of my original configuration came from url2pkg, but
your way is better :-)

Yep, that was indeed from url2pkg.  I just fixed url2pkg so that it will
generate the simpler package Makefile from now on.

Roland


Home | Main Index | Thread Index | Old Index