svn commit: r381739 - in head/x11-fonts/droid-fonts-ttf: . files

Baptiste Daroussin bapt at FreeBSD.org
Fri Mar 20 14:35:14 UTC 2015


Author: bapt
Date: Fri Mar 20 14:35:13 2015
New Revision: 381739
URL: https://svnweb.freebsd.org/changeset/ports/381739
QAT: https://qat.redports.org/buildarchive/r381739/

Log:
  Adjust to install the files in the same place as where they were before the
  conversion to USES=fonts

Modified:
  head/x11-fonts/droid-fonts-ttf/Makefile
  head/x11-fonts/droid-fonts-ttf/files/pkg-message.in

Modified: head/x11-fonts/droid-fonts-ttf/Makefile
==============================================================================
--- head/x11-fonts/droid-fonts-ttf/Makefile	Fri Mar 20 14:02:13 2015	(r381738)
+++ head/x11-fonts/droid-fonts-ttf/Makefile	Fri Mar 20 14:35:13 2015	(r381739)
@@ -3,7 +3,7 @@
 
 PORTNAME=	droid-fonts-ttf
 PORTVERSION=	20131024
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11-fonts
 MASTER_SITES=	LOCAL/sunpoet
 
@@ -12,15 +12,15 @@ COMMENT=	The Droid typeface family
 
 LICENSE=	APACHE20
 
+FONTNAME=	Droid
 NO_BUILD=	yes
 USES=		fonts tar:xz
 
-FONTSDIR=	lib/X11/fonts/Droid
 SUB_FILES=	pkg-message
 
 do-install:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/${FONTSDIR}/
-	cd ${WRKSRC}/ && ${INSTALL_DATA} *.ttf ${STAGEDIR}${PREFIX}/${FONTSDIR}/
+	@${MKDIR} ${STAGEDIR}${FONTSDIR}/
+	cd ${WRKSRC}/ && ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTSDIR}/
 
 # maintainer section:
 # https://android.googlesource.com/platform/frameworks/base/+/master/data/fonts/

Modified: head/x11-fonts/droid-fonts-ttf/files/pkg-message.in
==============================================================================
--- head/x11-fonts/droid-fonts-ttf/files/pkg-message.in	Fri Mar 20 14:02:13 2015	(r381738)
+++ head/x11-fonts/droid-fonts-ttf/files/pkg-message.in	Fri Mar 20 14:35:13 2015	(r381739)
@@ -4,5 +4,5 @@ You can start using the fonts by followi
 Add the following line to the "Files" section of your X.org configuration
 file:
 
-	FontPath	"%%PREFIX%%/%%FONTDIR%%/"
+	FontPath	"%%FONTSDIR%%/"
 


More information about the svn-ports-head mailing list