Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 2015 19:06:29 +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: r381769 - in head/arabic/ae_fonts_mono: . files
Message-ID:  <201503201906.t2KJ6T7J000670@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Mar 20 19:06:28 2015
New Revision: 381769
URL: https://svnweb.freebsd.org/changeset/ports/381769
QAT: https://qat.redports.org/buildarchive/r381769/

Log:
  Convert to USES=fonts

Deleted:
  head/arabic/ae_fonts_mono/pkg-plist
Modified:
  head/arabic/ae_fonts_mono/Makefile
  head/arabic/ae_fonts_mono/files/pkg-message.in

Modified: head/arabic/ae_fonts_mono/Makefile
==============================================================================
--- head/arabic/ae_fonts_mono/Makefile	Fri Mar 20 19:05:38 2015	(r381768)
+++ head/arabic/ae_fonts_mono/Makefile	Fri Mar 20 19:06:28 2015	(r381769)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ae_fonts_mono
 PORTVERSION=	1.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	arabic x11-fonts
 MASTER_SITES=	SF/arabeyes/Fonts/ae_fonts
 DISTNAME=	${PORTNAME}
@@ -11,20 +11,13 @@ DISTNAME=	${PORTNAME}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Collection of PCF fonts that include Arabic glyphs
 
-BUILD_DEPENDS=	bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \
-		mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
-		mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
-
-USE_XORG=	x11
-USES=		tar:bzip2
+USES=		fonts tar:bzip2
+NO_BUILD=	yes
 SUB_FILES=	pkg-message
-
-do-build:
-	@mkfontdir ${WRKSRC}
+PLIST_FILES=	${FONTSDIR}/10x21.pcf
 
 do-install:
-	@${MKDIR} ${STAGEDIR}/${PREFIX}/lib/X11/fonts/ae_fonts_mono
-	${INSTALL_DATA} ${WRKSRC}/*.pcf ${WRKSRC}/fonts.dir \
-		${STAGEDIR}/${PREFIX}/lib/X11/fonts/ae_fonts_mono
+	@${MKDIR} ${STAGEDIR}/${FONTSDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.pcf ${STAGEDIR}/${FONTSDIR}
 
 .include <bsd.port.mk>

Modified: head/arabic/ae_fonts_mono/files/pkg-message.in
==============================================================================
--- head/arabic/ae_fonts_mono/files/pkg-message.in	Fri Mar 20 19:05:38 2015	(r381768)
+++ head/arabic/ae_fonts_mono/files/pkg-message.in	Fri Mar 20 19:06:28 2015	(r381769)
@@ -5,5 +5,5 @@
 
  Add the following line to the "Files" section and restart XFree86.
 
- FontPath "%%PREFIX%%/lib/X11/fonts/ae_fonts_mono"
+ FontPath "%%FONTSDIR%%"
 ------------------------------------------------------------------



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