svn commit: r381769 - in head/arabic/ae_fonts_mono: . files

Baptiste Daroussin bapt at FreeBSD.org
Fri Mar 20 19:06:30 UTC 2015


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


More information about the svn-ports-head mailing list