aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-03-20 22:35:13 +0800
committerbapt <bapt@FreeBSD.org>2015-03-20 22:35:13 +0800
commit3412e0486862aa77b159d3f0bc6bf736b1449b35 (patch)
tree3977a45d6e1a39bac0082204d0dd382a09048edb /x11-fonts
parent2e4e683b77a9249897f747524489e04335aae523 (diff)
downloadfreebsd-ports-gnome-3412e0486862aa77b159d3f0bc6bf736b1449b35.tar.gz
freebsd-ports-gnome-3412e0486862aa77b159d3f0bc6bf736b1449b35.tar.zst
freebsd-ports-gnome-3412e0486862aa77b159d3f0bc6bf736b1449b35.zip
Adjust to install the files in the same place as where they were before the
conversion to USES=fonts
Diffstat (limited to 'x11-fonts')
-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%%/"