aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-05-19 16:11:43 +0800
committermarino <marino@FreeBSD.org>2015-05-19 16:11:43 +0800
commita933fccd50c459993767aab71d3bad18a285f767 (patch)
treedbc296bef62ecbb5416e0adab61d2f9c51b070e0 /x11-fonts
parente445099cefa12393bedd76a1184b4c728d06fb7b (diff)
downloadfreebsd-ports-gnome-a933fccd50c459993767aab71d3bad18a285f767.tar.gz
freebsd-ports-gnome-a933fccd50c459993767aab71d3bad18a285f767.tar.zst
freebsd-ports-gnome-a933fccd50c459993767aab71d3bad18a285f767.zip
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
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/tmu/Makefile21
-rw-r--r--x11-fonts/tmu/distinfo4
-rw-r--r--x11-fonts/tmu/pkg-descr2
3 files changed, 17 insertions, 10 deletions
diff --git a/x11-fonts/tmu/Makefile b/x11-fonts/tmu/Makefile
index 3ecd32204de4..891d1633c8d8 100644
--- a/x11-fonts/tmu/Makefile
+++ b/x11-fonts/tmu/Makefile
@@ -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>
diff --git a/x11-fonts/tmu/distinfo b/x11-fonts/tmu/distinfo
index 11ea65aca109..68354e15b6ff 100644
--- a/x11-fonts/tmu/distinfo
+++ b/x11-fonts/tmu/distinfo
@@ -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
diff --git a/x11-fonts/tmu/pkg-descr b/x11-fonts/tmu/pkg-descr
index b38d00972a26..62c6aa9326b8 100644
--- a/x11-fonts/tmu/pkg-descr
+++ b/x11-fonts/tmu/pkg-descr
@@ -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/