Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2015 08:11:44 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r386747 - head/x11-fonts/tmu
Message-ID:  <201505190811.t4J8Bisi092702@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Tue May 19 08:11:43 2015
New Revision: 386747
URL: https://svnweb.freebsd.org/changeset/ports/386747

Log:
  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

Modified:
  head/x11-fonts/tmu/Makefile
  head/x11-fonts/tmu/distinfo
  head/x11-fonts/tmu/pkg-descr

Modified: head/x11-fonts/tmu/Makefile
==============================================================================
--- head/x11-fonts/tmu/Makefile	Tue May 19 07:54:29 2015	(r386746)
+++ head/x11-fonts/tmu/Makefile	Tue May 19 08:11:43 2015	(r386747)
@@ -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>

Modified: head/x11-fonts/tmu/distinfo
==============================================================================
--- head/x11-fonts/tmu/distinfo	Tue May 19 07:54:29 2015	(r386746)
+++ head/x11-fonts/tmu/distinfo	Tue May 19 08:11:43 2015	(r386747)
@@ -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

Modified: head/x11-fonts/tmu/pkg-descr
==============================================================================
--- head/x11-fonts/tmu/pkg-descr	Tue May 19 07:54:29 2015	(r386746)
+++ head/x11-fonts/tmu/pkg-descr	Tue May 19 08:11:43 2015	(r386747)
@@ -14,3 +14,5 @@ the original font by Nathaniel Garson an
 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505190811.t4J8Bisi092702>