aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-fonts/droid-fonts-ttf/Makefile8
-rw-r--r--x11-fonts/droid-fonts-ttf/files/pkg-message.in2
2 files changed, 5 insertions, 5 deletions
diff --git a/x11-fonts/droid-fonts-ttf/Makefile b/x11-fonts/droid-fonts-ttf/Makefile
index eacb6b0c85c6..f1e146522798 100644
--- a/x11-fonts/droid-fonts-ttf/Makefile
+++ b/x11-fonts/droid-fonts-ttf/Makefile
@@ -3,7 +3,7 @@
PORTNAME= droid-fonts-ttf
PORTVERSION= 20131024
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-fonts
MASTER_SITES= LOCAL/sunpoet
@@ -12,15 +12,15 @@ COMMENT= The Droid typeface family
LICENSE= APACHE20
+FONTNAME= Droid
NO_BUILD= yes
USES= fonts tar:xz
-FONTSDIR= lib/X11/fonts/Droid
SUB_FILES= pkg-message
do-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/${FONTSDIR}/
- cd ${WRKSRC}/ && ${INSTALL_DATA} *.ttf ${STAGEDIR}${PREFIX}/${FONTSDIR}/
+ @${MKDIR} ${STAGEDIR}${FONTSDIR}/
+ cd ${WRKSRC}/ && ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTSDIR}/
# maintainer section:
# https://android.googlesource.com/platform/frameworks/base/+/master/data/fonts/
diff --git a/x11-fonts/droid-fonts-ttf/files/pkg-message.in b/x11-fonts/droid-fonts-ttf/files/pkg-message.in
index 798a45125c89..5b2177630d03 100644
--- a/x11-fonts/droid-fonts-ttf/files/pkg-message.in
+++ b/x11-fonts/droid-fonts-ttf/files/pkg-message.in
@@ -4,5 +4,5 @@ You can start using the fonts by following these instructions:
Add the following line to the "Files" section of your X.org configuration
file:
- FontPath "%%PREFIX%%/%%FONTDIR%%/"
+ FontPath "%%FONTSDIR%%/"