aboutsummaryrefslogtreecommitdiffstats
path: root/arabic
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-03-21 03:06:28 +0800
committerbapt <bapt@FreeBSD.org>2015-03-21 03:06:28 +0800
commitef90bf029f7b0b1125e3fea81ca8f184cccadbd6 (patch)
treeeedc4faa0e07d2f3d04f42000201d0ead32ccf46 /arabic
parent4e990cbe7ecf9fee58e38200d80657cf10fc7597 (diff)
downloadfreebsd-ports-gnome-ef90bf029f7b0b1125e3fea81ca8f184cccadbd6.tar.gz
freebsd-ports-gnome-ef90bf029f7b0b1125e3fea81ca8f184cccadbd6.tar.zst
freebsd-ports-gnome-ef90bf029f7b0b1125e3fea81ca8f184cccadbd6.zip
Convert to USES=fonts
Diffstat (limited to 'arabic')
-rw-r--r--arabic/ae_fonts_mono/Makefile19
-rw-r--r--arabic/ae_fonts_mono/files/pkg-message.in2
-rw-r--r--arabic/ae_fonts_mono/pkg-plist2
3 files changed, 7 insertions, 16 deletions
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 <bsd.port.mk>
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