Fix GH_*/DISTFILES handling

This port uses MASTER_SITES_GITHUB in a werid way which predates
GH_DISTFILE.

Use the (new) helper, leave DISTNAME to GH_* and fetch the second test
tarball via separate MASTER_SITES0 as usual.

No distinfo or package change.


PS: This port won't receive any updates;  it should either be replaced
by the new version's upstream repo or removed as outdated/unused.
This commit is contained in:
kn 2022-07-18 19:52:24 +00:00
parent 9f982fe36d
commit 47cf90d4d6

View File

@ -1,6 +1,5 @@
V = 5.4.0
COMMENT = marked-up plain text to formatted document converter
DISTNAME = ${GH_PROJECT}-${V}
PKGNAME = multimarkdown-${V:C/-/./}
CATEGORIES = textproc
@ -10,8 +9,8 @@ GH_TAGNAME = ${V}
TESTS_COMMIT = 8d5ad66e3bbaeb0de8646783bfe964261ddb39c7
DIST_SUBDIR = multimarkdown
MASTER_SITES_GITHUB = https://github.com/fletcher/MMD-Test-Suite/archive/
DISTFILES = ${DISTNAME}${EXTRACT_SUFX} ${TESTS_COMMIT}${EXTRACT_SUFX}
MASTER_SITES0 = https://github.com/fletcher/MMD-Test-Suite/archive/
DISTFILES = ${GH_DISTFILE} ${TESTS_COMMIT}${EXTRACT_SUFX}:0
HOMEPAGE = http://fletcherpenney.net/multimarkdown/
MAINTAINER = Sean Levy <attila@stalphonsos.com>