Use GH_DISTFILE

Sync back with bsd.port.mk(5) and replace an outdated copy with the now
available variable.

No functional change now, but this keeps gdm building in case planned
changes around MASTER_SITES_GITHUB/GH_DISTFILE would land in bsd.port.mk.

Comment on the existing EXTRACT_ONLY/DISTFILES issue (until that is
fixed/improved as well).

OK aja
This commit is contained in:
kn 2022-07-13 16:07:55 +00:00
parent b2e1a043db
commit ec758ffede

View File

@ -9,9 +9,10 @@ GH_PROJECT= gdm
GH_COMMIT= 864881c9ff9629711d782071fa959f76f2d8c3a7
EXTRACT_SUFX= .tar.gz
# bsd.port.mk:1288
DISTFILES= ${DISTNAME}-${GH_COMMIT:C/(........).*/\1/}${EXTRACT_SUFX}{${GH_COMMIT}${EXTRACT_SUFX}} \
DISTFILES= ${GH_DISTFILE} \
gdm-puffy.png:0
# XXX can't use GH_DISTFILE since EXTRACT_ONLY expects filenames instead of
# DISTFILES filename{url}sufx patterns
EXTRACT_ONLY= ${DISTNAME}-${GH_COMMIT:C/(........).*/\1/}${EXTRACT_SUFX}
MASTER_SITES= ${MASTER_SITES_GITHUB}