Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 2015 14:35:13 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r381739 - in head/x11-fonts/droid-fonts-ttf: . files
Message-ID:  <201503201435.t2KEZD8e070331@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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%%/"
 



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