aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/farsifonts
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-03-21 23:05:19 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-03-21 23:05:19 +0000
commita5da770e67afce95b829c38c5d5330fe69f7822c (patch)
treeb9556c9042a9d20d7c71f49869f39f95afc00052 /x11-fonts/farsifonts
parent51da733b698e7bbedaac4743f457352334401249 (diff)
downloadports-a5da770e67afce95b829c38c5d5330fe69f7822c.tar.gz
ports-a5da770e67afce95b829c38c5d5330fe69f7822c.zip
Make fonts repecting XDG
Xorg is now looking in ${LOCALBASE}/share/fonts by default Xorg now accepts symlinks in etc/X11/fontpath.d (as decribed in Xserver(1)) Large cleanup on lots of font ports All fonts are now properly dynamically generating fonts.dir and fonts.scale instead of sometime overwriting existing ones) All fonts are generating fontconfig's cache Improve consistency in fonts ports
Notes
Notes: svn path=/head/; revision=381876
Diffstat (limited to 'x11-fonts/farsifonts')
-rw-r--r--x11-fonts/farsifonts/Makefile16
-rw-r--r--x11-fonts/farsifonts/pkg-plist1
2 files changed, 5 insertions, 12 deletions
diff --git a/x11-fonts/farsifonts/Makefile b/x11-fonts/farsifonts/Makefile
index 4b56459c9a2d..9ba050c60b77 100644
--- a/x11-fonts/farsifonts/Makefile
+++ b/x11-fonts/farsifonts/Makefile
@@ -3,25 +3,19 @@
PORTNAME= farsifonts
PORTVERSION= 0.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11-fonts
MASTER_SITES= SF/farsi-fonts/
MAINTAINER= javad.kouhi@gmail.com
COMMENT= Standard set of Unicode Persian fonts
-BUILD_DEPENDS= ttmkfdir:${PORTSDIR}/x11-fonts/ttmkfdir
+USES= fonts zip
-USES= zip
-PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
-FONTSDIR?= ${PREFIX}/lib/X11/fonts/${PORTNAME}
-
-do-build:
- @ttmkfdir -c -d ${WRKSRC} -o ${WRKSRC}/fonts.dir
+NO_BUILD= yes
do-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/fonts/farsifonts
- @${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${PREFIX}/lib/X11/fonts/farsifonts
- @${INSTALL_DATA} ${WRKSRC}/fonts.dir ${STAGEDIR}${PREFIX}/lib/X11/fonts/farsifonts
+ @${MKDIR} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>
diff --git a/x11-fonts/farsifonts/pkg-plist b/x11-fonts/farsifonts/pkg-plist
index fe6665221d25..51d4ffb719f2 100644
--- a/x11-fonts/farsifonts/pkg-plist
+++ b/x11-fonts/farsifonts/pkg-plist
@@ -1,5 +1,4 @@
%%FONTSDIR%%/elham.ttf
-%%FONTSDIR%%/fonts.dir
%%FONTSDIR%%/homa.ttf
%%FONTSDIR%%/koodak.ttf
%%FONTSDIR%%/nazli.ttf