Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 2015 18:23:03 +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: r381760 - in head/x11-fonts/sourcesanspro-ttf: . files
Message-ID:  <201503201823.t2KIN32I080448@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Mar 20 18:23:02 2015
New Revision: 381760
URL: https://svnweb.freebsd.org/changeset/ports/381760
QAT: https://qat.redports.org/buildarchive/r381760/

Log:
  Update to 1.065
  Change master site to github
  Convert to USES=fonts

Modified:
  head/x11-fonts/sourcesanspro-ttf/Makefile
  head/x11-fonts/sourcesanspro-ttf/distinfo
  head/x11-fonts/sourcesanspro-ttf/files/pkg-message.in
  head/x11-fonts/sourcesanspro-ttf/pkg-plist

Modified: head/x11-fonts/sourcesanspro-ttf/Makefile
==============================================================================
--- head/x11-fonts/sourcesanspro-ttf/Makefile	Fri Mar 20 18:18:30 2015	(r381759)
+++ head/x11-fonts/sourcesanspro-ttf/Makefile	Fri Mar 20 18:23:02 2015	(r381760)
@@ -2,34 +2,29 @@
 # $FreeBSD$
 
 PORTNAME=	sourcesanspro-ttf
-PORTVERSION=	1.050
-PORTREVISION=	1
+PORTVERSION=	1.065
 CATEGORIES=	x11-fonts
-MASTER_SITES=	SF/sourcesans.adobe
-DISTNAME=	SourceSansPro_FontsOnly-${PORTVERSION}
 
 MAINTAINER=	office@FreeBSD.org
 COMMENT=	Set of fonts by Adobe designed for user interfaces
 
 LICENSE=	OFL11
 
-BUILD_DEPENDS=	fc-cache:${PORTSDIR}/x11-fonts/fontconfig \
-		mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
-		mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
+USE_GITHUB=	yes
+GH_ACCOUNT=	adobe-fonts
+GH_PROJECT=	source-sans-pro
+GH_TAGNAME=	2.010R-ro/1.065R-it
+WRKSRC=		${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME:S,/,-,}
 
 NO_BUILD=	yes
-USES=		zip
+USES=		fonts
 USE_XORG=	x11
 
-PKGMESSAGE=	${WRKDIR}/pkg-message
-PLIST_SUB=	FONTDIR=${FONTDIR}
+FONTNAME=	SourceSansPro
 SUB_FILES=	pkg-message
-SUB_LIST=	FONTDIR=${FONTDIR}
-
-FONTDIR=	lib/X11/fonts/SourceSansPro
 
 do-install:
-	${MKDIR} ${STAGEDIR}${PREFIX}/${FONTDIR}
-	cd ${WRKSRC}/ && ${INSTALL_DATA} TTF/*.ttf ${STAGEDIR}${PREFIX}/${FONTDIR}
+	${MKDIR} ${STAGEDIR}${FONTSDIR}
+	${INSTALL_DATA} ${WRKSRC}/TTF/*.ttf ${STAGEDIR}${FONTSDIR}
 
 .include <bsd.port.mk>

Modified: head/x11-fonts/sourcesanspro-ttf/distinfo
==============================================================================
--- head/x11-fonts/sourcesanspro-ttf/distinfo	Fri Mar 20 18:18:30 2015	(r381759)
+++ head/x11-fonts/sourcesanspro-ttf/distinfo	Fri Mar 20 18:23:02 2015	(r381760)
@@ -1,2 +1,2 @@
-SHA256 (SourceSansPro_FontsOnly-1.050.zip) = c379f5ef53981757b9aa115cfd0775e9fa92175f5d611ab3bbe57689fa3c5f00
-SIZE (SourceSansPro_FontsOnly-1.050.zip) = 1556479
+SHA256 (sourcesanspro-ttf-1.065_GH0.tar.gz) = e29660947d1a77bc2682b6036cfa4d644d9cdf00a272baaf60dda56e547c79e8
+SIZE (sourcesanspro-ttf-1.065_GH0.tar.gz) = 5503301

Modified: head/x11-fonts/sourcesanspro-ttf/files/pkg-message.in
==============================================================================
--- head/x11-fonts/sourcesanspro-ttf/files/pkg-message.in	Fri Mar 20 18:18:30 2015	(r381759)
+++ head/x11-fonts/sourcesanspro-ttf/files/pkg-message.in	Fri Mar 20 18:23:02 2015	(r381760)
@@ -2,4 +2,4 @@ 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%%/"

Modified: head/x11-fonts/sourcesanspro-ttf/pkg-plist
==============================================================================
--- head/x11-fonts/sourcesanspro-ttf/pkg-plist	Fri Mar 20 18:18:30 2015	(r381759)
+++ head/x11-fonts/sourcesanspro-ttf/pkg-plist	Fri Mar 20 18:23:02 2015	(r381760)
@@ -1,13 +1,12 @@
-%%FONTDIR%%/SourceSansPro-Black.ttf
-%%FONTDIR%%/SourceSansPro-BlackIt.ttf
-%%FONTDIR%%/SourceSansPro-Bold.ttf
-%%FONTDIR%%/SourceSansPro-BoldIt.ttf
-%%FONTDIR%%/SourceSansPro-ExtraLight.ttf
-%%FONTDIR%%/SourceSansPro-ExtraLightIt.ttf
-%%FONTDIR%%/SourceSansPro-It.ttf
-%%FONTDIR%%/SourceSansPro-Light.ttf
-%%FONTDIR%%/SourceSansPro-LightIt.ttf
-%%FONTDIR%%/SourceSansPro-Regular.ttf
-%%FONTDIR%%/SourceSansPro-Semibold.ttf
-%%FONTDIR%%/SourceSansPro-SemiboldIt.ttf
-@fcfontsdir %%FONTDIR%%
+%%FONTSDIR%%/SourceSansPro-Black.ttf
+%%FONTSDIR%%/SourceSansPro-BlackIt.ttf
+%%FONTSDIR%%/SourceSansPro-Bold.ttf
+%%FONTSDIR%%/SourceSansPro-BoldIt.ttf
+%%FONTSDIR%%/SourceSansPro-ExtraLight.ttf
+%%FONTSDIR%%/SourceSansPro-ExtraLightIt.ttf
+%%FONTSDIR%%/SourceSansPro-It.ttf
+%%FONTSDIR%%/SourceSansPro-Light.ttf
+%%FONTSDIR%%/SourceSansPro-LightIt.ttf
+%%FONTSDIR%%/SourceSansPro-Regular.ttf
+%%FONTSDIR%%/SourceSansPro-Semibold.ttf
+%%FONTSDIR%%/SourceSansPro-SemiboldIt.ttf



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