Wednesday, July 13, 2022

textproc/multimarkdown: fix GH_*/DISTFILES handling

This port uses MASTER_SITES_GITHUB in a werid way which predates
GH_DISTFILE and would preak if my proposed MASTER_SITES_GITHUB/GH_DISTFILE
change landed.

Fix GH_*/PKGNAME/DISTNAME correctly and use MASTER_SITES0 for the
additional distfile.

Here's a minimal fix without updates or Makefile cosmetics which works
with -CURRENT bsd.port.mk as well as my patch.


This port is abandoned since 2016 when upstream released version 6 as
new repo.

Either way, I think someone should update this port or retire it.
show-reverse-deps(1) shows no consumers.

Sean, are you still using/maintaining this?

OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/multimarkdown/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile 11 Mar 2022 20:02:48 -0000 1.5
+++ Makefile 13 Jul 2022 14:25:49 -0000
@@ -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>

No comments:

Post a Comment