Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2015 17:52:54 +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: r381638 - head/x11-fonts/freefonts
Message-ID:  <201503191752.t2JHqsCJ081129@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Mar 19 17:52:53 2015
New Revision: 381638
URL: https://svnweb.freebsd.org/changeset/ports/381638
QAT: https://qat.redports.org/buildarchive/r381638/

Log:
  Convert to USES=fonts

Modified:
  head/x11-fonts/freefonts/Makefile

Modified: head/x11-fonts/freefonts/Makefile
==============================================================================
--- head/x11-fonts/freefonts/Makefile	Thu Mar 19 17:50:58 2015	(r381637)
+++ head/x11-fonts/freefonts/Makefile	Thu Mar 19 17:52:53 2015	(r381638)
@@ -3,7 +3,7 @@
 
 PORTNAME=	freefonts
 PORTVERSION=	0.10
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	x11-fonts
 MASTER_SITES=	http://download.gimp.org/pub/%SUBDIR%/ \
 		ftp://ftp.sunet.se/pub/gnu/%SUBDIR%/   \
@@ -14,6 +14,8 @@ MASTER_SITE_SUBDIR=	gimp/fonts
 MAINTAINER=	olgeni@FreeBSD.org
 COMMENT=	Collection of ATM fonts (not all free) from the CICA archives
 
+USES=	fonts
+
 BUILD_DEPENDS=	type1inst:${PORTSDIR}/x11-fonts/p5-type1inst
 
 # Some of the fonts are shareware. Some are freeware. Permission must
@@ -26,15 +28,14 @@ RESTRICTED=	License prohibits redistribu
 
 NO_WRKSUBDIR=	yes
 
-FONTDIR?=	${PREFIX}/lib/X11/fonts/freefont
-PLIST_SUB=	FONTDIR="${FONTDIR:S|${PREFIX}/||}"
+FONTSDIR?=	${PREFIX}/lib/X11/fonts/freefont
 
 do-build:
 	@cd ${WRKSRC}/freefont && ${LOCALBASE}/bin/type1inst -silent -quiet -nolog >/dev/null 2>&1
 	@${RM} ${WRKSRC}/freefont/Fontmap.bak
 
 do-install:
-	@${MKDIR} ${STAGEDIR}${FONTDIR}
-	${INSTALL_DATA} ${WRKSRC}/freefont/* ${STAGEDIR}${FONTDIR}
+	@${MKDIR} ${STAGEDIR}${FONTSDIR}
+	${INSTALL_DATA} ${WRKSRC}/freefont/* ${STAGEDIR}${FONTSDIR}
 
 .include <bsd.port.mk>



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