Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 2015 18:11:22 +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: r381756 - head/x11-fonts/proggy_fonts-ttf
Message-ID:  <201503201811.t2KIBMiD073239@svn.freebsd.org>

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

Log:
  Convert to USES=fonts

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

Modified: head/x11-fonts/proggy_fonts-ttf/Makefile
==============================================================================
--- head/x11-fonts/proggy_fonts-ttf/Makefile	Fri Mar 20 18:09:39 2015	(r381755)
+++ head/x11-fonts/proggy_fonts-ttf/Makefile	Fri Mar 20 18:11:22 2015	(r381756)
@@ -2,6 +2,7 @@
 
 PORTNAME=	proggy_fonts-ttf
 PORTVERSION=	1.0
+PORTREVISION=	1
 CATEGORIES=	x11-fonts
 MASTER_SITES=	http://www.proggyfonts.com/download/
 DISTFILES=	ProggyClean.ttf.zip ProggySquare.ttf.zip \
@@ -15,18 +16,12 @@ COMMENT=	The perfect monospaced bitmap p
 
 LICENSE=	MIT
 
-BUILD_DEPENDS=	mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
-		mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale \
-		fc-cache:${PORTSDIR}/x11-fonts/fontconfig
-
-USES=		zip
+USES=		fonts zip
 NO_WRKSUBDIR=	yes
-FONTDIR=	${PREFIX}/lib/X11/fonts/${PORTNAME}
 NO_BUILD=	yes
-PLIST_SUB=	FONTDIR="${FONTDIR:S|${PREFIX}/||}"
 
 do-install:
-	@${MKDIR} ${STAGEDIR}${FONTDIR}
-	@cd ${WRKSRC} && ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTDIR}
+	@${MKDIR} ${STAGEDIR}${FONTSDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR}
 
 .include <bsd.port.mk>

Modified: head/x11-fonts/proggy_fonts-ttf/pkg-plist
==============================================================================
--- head/x11-fonts/proggy_fonts-ttf/pkg-plist	Fri Mar 20 18:09:39 2015	(r381755)
+++ head/x11-fonts/proggy_fonts-ttf/pkg-plist	Fri Mar 20 18:11:22 2015	(r381756)
@@ -1,10 +1,9 @@
-%%FONTDIR%%/ProggyClean.ttf
-%%FONTDIR%%/ProggyCleanCE.ttf
-%%FONTDIR%%/ProggyCleanSZ.ttf
-%%FONTDIR%%/ProggyCleanSZBP.ttf
-%%FONTDIR%%/ProggySmall.ttf
-%%FONTDIR%%/ProggySquare.ttf
-%%FONTDIR%%/ProggySquareSZ.ttf
-%%FONTDIR%%/ProggyTiny.ttf
-%%FONTDIR%%/ProggyTinySZ.ttf
-@fcfontsdir %%FONTDIR%%
+%%FONTSDIR%%/ProggyClean.ttf
+%%FONTSDIR%%/ProggyCleanCE.ttf
+%%FONTSDIR%%/ProggyCleanSZ.ttf
+%%FONTSDIR%%/ProggyCleanSZBP.ttf
+%%FONTSDIR%%/ProggySmall.ttf
+%%FONTSDIR%%/ProggySquare.ttf
+%%FONTSDIR%%/ProggySquareSZ.ttf
+%%FONTSDIR%%/ProggyTiny.ttf
+%%FONTSDIR%%/ProggyTinySZ.ttf



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