aboutsummaryrefslogtreecommitdiff
path: root/arabic
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-03-20 19:06:28 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-03-20 19:06:28 +0000
commit6b2245dacda0089c747f4b06a241a3511c089665 (patch)
treeeedc4faa0e07d2f3d04f42000201d0ead32ccf46 /arabic
parent9986ecebc17e6168d74e1e29fbff454b459a5527 (diff)
downloadports-6b2245dacda0089c747f4b06a241a3511c089665.tar.gz
ports-6b2245dacda0089c747f4b06a241a3511c089665.zip
Convert to USES=fonts
Notes
Notes: svn path=/head/; revision=381769
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