From 6b2245dacda0089c747f4b06a241a3511c089665 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Fri, 20 Mar 2015 19:06:28 +0000 Subject: Convert to USES=fonts --- arabic/ae_fonts_mono/Makefile | 19 ++++++------------- arabic/ae_fonts_mono/files/pkg-message.in | 2 +- arabic/ae_fonts_mono/pkg-plist | 2 -- 3 files changed, 7 insertions(+), 16 deletions(-) delete mode 100644 arabic/ae_fonts_mono/pkg-plist (limited to 'arabic') diff --git a/arabic/ae_fonts_mono/Makefile b/arabic/ae_fonts_mono/Makefile index 1dddd6ab9445..3f81fb0656b6 100644 --- a/arabic/ae_fonts_mono/Makefile +++ b/arabic/ae_fonts_mono/Makefile @@ -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 diff --git a/arabic/ae_fonts_mono/files/pkg-message.in b/arabic/ae_fonts_mono/files/pkg-message.in index f9978969ad78..e019cc531a17 100644 --- a/arabic/ae_fonts_mono/files/pkg-message.in +++ b/arabic/ae_fonts_mono/files/pkg-message.in @@ -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%%" ------------------------------------------------------------------ diff --git a/arabic/ae_fonts_mono/pkg-plist b/arabic/ae_fonts_mono/pkg-plist deleted file mode 100644 index 50c4b115f1c5..000000000000 --- a/arabic/ae_fonts_mono/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -lib/X11/fonts/ae_fonts_mono/10x21.pcf -lib/X11/fonts/ae_fonts_mono/fonts.dir -- cgit v1.2.3