Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2014 03:42:07 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360536 - head/x11-fonts/tmu
Message-ID:  <201407040342.s643g7vx078548@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Fri Jul  4 03:42:07 2014
New Revision: 360536
URL: http://svnweb.freebsd.org/changeset/ports/360536
QAT: https://qat.redports.org/buildarchive/r360536/

Log:
  Stagify.

Modified:
  head/x11-fonts/tmu/Makefile
  head/x11-fonts/tmu/pkg-plist

Modified: head/x11-fonts/tmu/Makefile
==============================================================================
--- head/x11-fonts/tmu/Makefile	Fri Jul  4 03:01:58 2014	(r360535)
+++ head/x11-fonts/tmu/Makefile	Fri Jul  4 03:42:07 2014	(r360536)
@@ -14,26 +14,17 @@ BUILD_DEPENDS=	mkfontscale:${PORTSDIR}/x
 		mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir	\
 		fc-cache:${PORTSDIR}/x11-fonts/fontconfig
 
-USE_BZIP2=	yes
+USES=		tar:bzip2
 PLIST_SUB=	FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
 FONTNAME=	${PORTNAME}
 FONTSDIR?=	${PREFIX}/lib/X11/fonts/${FONTNAME}
+NO_BUILD=	yes
 
-MKFONTSCL_CMD=	${LOCALBASE}/bin/mkfontscale
-MKFONTDIR_CMD=	${LOCALBASE}/bin/mkfontdir
-FCCACHE_CMD=	${LOCALBASE}/bin/fc-cache -f -v
-
-NO_STAGE=	yes
 post-extract:
 	@cd ${WRKSRC}/&&${MV} TibMachUni-${DISTVERSION}.ttf tmu.ttf
 
-do-build:
-	@cd ${WRKSRC}/ && ${MKFONTSCL_CMD} && ${MKFONTDIR_CMD}
-
 do-install:
-	@${INSTALL} -d ${FONTSDIR}/
-	@${INSTALL_DATA} ${WRKSRC}/[ft]* ${FONTSDIR}/
-	@${ECHO_MSG} "===> Running fc-cache"
-	-${FCCACHE_CMD} ${FONTSDIR}
+	@${INSTALL} -d ${STAGEDIR}${FONTSDIR}/
+	@${INSTALL_DATA} ${WRKSRC}/tmu.ttf ${STAGEDIR}${FONTSDIR}/
 
 .include <bsd.port.mk>

Modified: head/x11-fonts/tmu/pkg-plist
==============================================================================
--- head/x11-fonts/tmu/pkg-plist	Fri Jul  4 03:01:58 2014	(r360535)
+++ head/x11-fonts/tmu/pkg-plist	Fri Jul  4 03:42:07 2014	(r360536)
@@ -1,7 +1,2 @@
-%%FONTSDIR%%/fonts.dir
-%%FONTSDIR%%/fonts.scale
 %%FONTSDIR%%/tmu.ttf
-@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true
-@unexec rm -f %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || true
-@unexec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true
-@dirrm %%FONTSDIR%%
+@fcfontsdir %%FONTSDIR%%



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