aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/fonts-indic
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-18 13:34:58 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-18 13:34:58 +0000
commit266c36f97dd83dcf2b7601f585db57330832eefd (patch)
treec4dc49c1c986354a39e4b9534adfb4e14accc5bb /x11-fonts/fonts-indic
parenta25b679c7442480bf3aefdf308c13944416f4470 (diff)
Notes
Diffstat (limited to 'x11-fonts/fonts-indic')
-rw-r--r--x11-fonts/fonts-indic/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/x11-fonts/fonts-indic/Makefile b/x11-fonts/fonts-indic/Makefile
index 3bef283a008c..b9be61654c41 100644
--- a/x11-fonts/fonts-indic/Makefile
+++ b/x11-fonts/fonts-indic/Makefile
@@ -13,18 +13,13 @@ COMMENT= The Lohit family of Indic fonts
RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
NO_BUILD= yes
-
NO_WRKSUBDIR= yes
+
FONTSDIR= lib/X11/fonts/${PORTNAME}/
PLIST_SUB+= FONTSDIR=${FONTSDIR}
-NO_STAGE= yes
do-install:
- ${MKDIR} ${PREFIX}/${FONTSDIR}
- ${INSTALL_DATA} ${WRKSRC}/*/*/*.ttf ${PREFIX}/${FONTSDIR}
-
-post-install:
- @${ECHO_MSG} "==> Running fc-cache"
- @${LOCALBASE}/bin/fc-cache -f -v ${PREFIX}/${FONTSDIR}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*/*/*.ttf ${STAGEDIR}${PREFIX}/${FONTSDIR}
.include <bsd.port.mk>