svn commit: r381638 - head/x11-fonts/freefonts

Baptiste Daroussin bapt at FreeBSD.org
Thu Mar 19 17:52:54 UTC 2015


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 at 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>


More information about the svn-ports-head mailing list