x11-fonts/tmu: Find new file source to unbreak

The distfile was available in an uncompressed form on Sourceforge.
While here, mark as GPLv3 (copying file would have to be downloaded
separately so it is not set) and simplify.  I made several corrections
and removals to the patch as submitted.

PR:		200308
Submitted by:	Ports Fury
This commit is contained in:
John Marino 2015-05-19 08:11:43 +00:00
parent 0b8406cbed
commit f30318a865
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386747
3 changed files with 17 additions and 10 deletions

View File

@ -4,23 +4,28 @@
PORTNAME= tmu
DISTVERSION= 1.901b
CATEGORIES= x11-fonts
MASTER_SITES= CENKES
# http://www.thdl.org/tools/fonts/index.html
MASTER_SITES= SF/thdltools/TibetanMachineFont/TMU_${DISTVERSION}
DISTFILES= TibMachUni-${DISTVERSION}.ttf
DIST_SUBDIR= tmu
MAINTAINER= ports@FreeBSD.org
COMMENT= Free Tibetan Machine Uni font
BROKEN= No public distfiles
LICENSE= GPLv3 # gpl.txt located at SF site
USES= fonts tar:bzip2
USES= fonts
NO_BUILD= yes
NO_ARCH= yes
NO_WRKSUBDIR= yes
PLIST_FILES= ${FONTSDIR}/tmu.ttf
post-extract:
@cd ${WRKSRC}/&&${MV} TibMachUni-${DISTVERSION}.ttf tmu.ttf
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= #
EXTRACT_AFTER_ARGS= ${WRKDIR}
do-install:
@${INSTALL} -d ${STAGEDIR}${FONTSDIR}/
${INSTALL_DATA} ${WRKSRC}/tmu.ttf ${STAGEDIR}${FONTSDIR}/
@${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/TibMachUni-${DISTVERSION}.ttf \
${STAGEDIR}${FONTSDIR}/tmu.ttf
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (tmu-1.901b.tar.bz2) = 0b0ea2451dd5d81e3fe7bb816567fbffa52bd17777db92cd46b0c495e11a266b
SIZE (tmu-1.901b.tar.bz2) = 1167327
SHA256 (tmu/TibMachUni-1.901b.ttf) = 16c16ea5ded720946ba0b0921cb3f9bb624af4f6bf867e31faf0773c1b5b8f76
SIZE (tmu/TibMachUni-1.901b.ttf) = 4511176

View File

@ -14,3 +14,5 @@ the original font by Nathaniel Garson and Christopher Fynn under the
auspices of THDL. This new OpenType version of the font contains
almost 4,000 glyphs and can generate over 20,000 different
combinations.
WWW: http://thdltools.sourceforge.net/