diff --git a/x11-fonts/league-gothic/Makefile b/x11-fonts/league-gothic/Makefile index ef492e02195d..880b508fcd92 100644 --- a/x11-fonts/league-gothic/Makefile +++ b/x11-fonts/league-gothic/Makefile @@ -2,25 +2,30 @@ # $FreeBSD$ PORTNAME= league-gothic -DISTVERSION= g20140319 -PORTREVISION= 1 +DISTVERSION= 1.601 CATEGORIES= x11-fonts +# The .otf files are no longer comitted to the repository, +# so we need to fetch a release tarball. This is not supported +# by the current implementation of USE_GITHUB, so we overwrite +# the master site here. +MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSION}/ +DISTNAME= LeagueGothic-${DISTVERSION} MAINTAINER= flo@snakeoilproductions.net COMMENT= Revival of an old classic, Alternate Gothic \#1 LICENSE= OFL11 -LICENSE_FILE= ${WRKSRC}/Open\ Font\ License.markdown +LICENSE_FILE= ${WRKSRC}/OFL.md -USES= fonts -USE_GITHUB= yes +USES= fonts tar:xz +USE_GITHUB= nodefault GH_ACCOUNT= theleagueof -GH_TAGNAME= e6dce21 NO_ARCH= yes NO_BUILD= yes do-install: ${MKDIR} ${STAGEDIR}${FONTSDIR} - ${INSTALL_DATA} ${WRKSRC}/*.otf ${STAGEDIR}${FONTSDIR} + ${INSTALL_DATA} ${WRKSRC}/static/OTF/*.otf ${STAGEDIR}${FONTSDIR} + .include diff --git a/x11-fonts/league-gothic/distinfo b/x11-fonts/league-gothic/distinfo index a1cbe4a560bb..ab813b7e60e3 100644 --- a/x11-fonts/league-gothic/distinfo +++ b/x11-fonts/league-gothic/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1535660365 -SHA256 (theleagueof-league-gothic-g20140319-e6dce21_GH0.tar.gz) = 82980efeda0ee3828d416a59a7dfb819db1c7d1214bcc05579f320e09c389230 -SIZE (theleagueof-league-gothic-g20140319-e6dce21_GH0.tar.gz) = 1985687 +TIMESTAMP = 1609682722 +SHA256 (LeagueGothic-1.601.tar.xz) = a1d9d3aaba2abda2791eaad03d51dbfd97aa6f6f2ea23c3b2b2b31f90d8cbeb5 +SIZE (LeagueGothic-1.601.tar.xz) = 213256 diff --git a/x11-fonts/league-gothic/pkg-plist b/x11-fonts/league-gothic/pkg-plist index 6986edebd344..f39657f551a2 100644 --- a/x11-fonts/league-gothic/pkg-plist +++ b/x11-fonts/league-gothic/pkg-plist @@ -1,4 +1,4 @@ +%%FONTSDIR%%/LeagueGothic-Condensed.otf %%FONTSDIR%%/LeagueGothic-CondensedItalic.otf -%%FONTSDIR%%/LeagueGothic-CondensedRegular.otf %%FONTSDIR%%/LeagueGothic-Italic.otf %%FONTSDIR%%/LeagueGothic-Regular.otf