svn commit: r362562 - head/x11-fonts/droid-fonts-ttf

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Tue Jul 22 17:53:25 UTC 2014


Author: sunpoet
Date: Tue Jul 22 17:53:24 2014
New Revision: 362562
URL: http://svnweb.freebsd.org/changeset/ports/362562
QAT: https://qat.redports.org/buildarchive/r362562/

Log:
  - Use @fcfontsdir
  - Bump PORTREVISION for package change

Modified:
  head/x11-fonts/droid-fonts-ttf/Makefile
  head/x11-fonts/droid-fonts-ttf/pkg-plist

Modified: head/x11-fonts/droid-fonts-ttf/Makefile
==============================================================================
--- head/x11-fonts/droid-fonts-ttf/Makefile	Tue Jul 22 17:51:19 2014	(r362561)
+++ head/x11-fonts/droid-fonts-ttf/Makefile	Tue Jul 22 17:53:24 2014	(r362562)
@@ -3,6 +3,7 @@
 
 PORTNAME=	droid-fonts-ttf
 PORTVERSION=	20131024
+PORTREVISION=	1
 CATEGORIES=	x11-fonts
 MASTER_SITES=	LOCAL/sunpoet
 
@@ -11,9 +12,11 @@ COMMENT=	The Droid typeface family
 
 LICENSE=	APACHE20
 
-BUILD_DEPENDS=	${LOCALBASE}/bin/mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
+BUILD_DEPENDS=	${LOCALBASE}/bin/fc-cache:${PORTSDIR}/x11-fonts/fontconfig \
+		${LOCALBASE}/bin/mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
 		${LOCALBASE}/bin/mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
 
+NO_BUILD=	yes
 USES=		tar:xz
 
 FONTDIR=	lib/X11/fonts/Droid
@@ -22,13 +25,9 @@ PLIST_SUB=	FONTDIR=${FONTDIR}
 SUB_FILES=	pkg-message
 SUB_LIST=	FONTDIR=${FONTDIR}
 
-do-build:
-	@cd ${WRKSRC}/ && ${LOCALBASE}/bin/mkfontscale
-	@cd ${WRKSRC}/ && ${LOCALBASE}/bin/mkfontdir
-
 do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/${FONTDIR}/
-	cd ${WRKSRC}/ && ${INSTALL_DATA} *.ttf fonts.* ${STAGEDIR}${PREFIX}/${FONTDIR}/
+	cd ${WRKSRC}/ && ${INSTALL_DATA} *.ttf ${STAGEDIR}${PREFIX}/${FONTDIR}/
 
 # maintainer section:
 # https://android.googlesource.com/platform/frameworks/base/+/master/data/fonts/

Modified: head/x11-fonts/droid-fonts-ttf/pkg-plist
==============================================================================
--- head/x11-fonts/droid-fonts-ttf/pkg-plist	Tue Jul 22 17:51:19 2014	(r362561)
+++ head/x11-fonts/droid-fonts-ttf/pkg-plist	Tue Jul 22 17:53:24 2014	(r362562)
@@ -21,6 +21,4 @@
 %%FONTDIR%%/DroidSerif-BoldItalic.ttf
 %%FONTDIR%%/DroidSerif-Italic.ttf
 %%FONTDIR%%/DroidSerif-Regular.ttf
-%%FONTDIR%%/fonts.dir
-%%FONTDIR%%/fonts.scale
- at dirrm %%FONTDIR%%
+ at fcfontsdir %%FONTDIR%%


More information about the svn-ports-head mailing list