aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/doulos-compact
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-03-20 01:12:20 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-03-20 01:12:20 +0000
commit6bc7b7ce5dca31aeba10feab51f6522baef39fa3 (patch)
tree6c84536921c7c5a3def1d614c13a8a70d850700c /x11-fonts/doulos-compact
parent82ae895c0bfc875ead9a37815f837215abb5eaf8 (diff)
downloadports-6bc7b7ce5dca31aeba10feab51f6522baef39fa3.tar.gz
ports-6bc7b7ce5dca31aeba10feab51f6522baef39fa3.zip
Notes
Diffstat (limited to 'x11-fonts/doulos-compact')
-rw-r--r--x11-fonts/doulos-compact/Makefile21
-rw-r--r--x11-fonts/doulos-compact/distinfo4
-rw-r--r--x11-fonts/doulos-compact/files/pkg-message.in2
3 files changed, 8 insertions, 19 deletions
diff --git a/x11-fonts/doulos-compact/Makefile b/x11-fonts/doulos-compact/Makefile
index 4bc3356bfbf0..43776052c7cf 100644
--- a/x11-fonts/doulos-compact/Makefile
+++ b/x11-fonts/doulos-compact/Makefile
@@ -3,7 +3,7 @@
PORTNAME= DoulosSILCompact
PORTVERSION= 4.110
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-fonts
#unfortunately, the SIL server embeds timestamps in the distfile, so we use a static local copy
.if defined(MAINTAINER_MODE)
@@ -18,33 +18,22 @@ COMMENT= Doulos SIL TrueType font collection, compact variant
LICENSE= OFL11
-USES= zip
-XORG_CAT= font
+USES= fonts zip
-FONTROOTDIR= ${PREFIX}/lib/X11/fonts
-INSTALLS_TTF= yes
NO_BUILD= yes
-PLIST_FILES= ${FONTROOTDIR:S/${PREFIX}\///}/${FONTDIR}/${PORTNAME}-R.ttf
+PLIST_FILES= ${FONTSDIR}/${PORTNAME}-R.ttf
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
PORTDOCS= FONTLOG.txt OFL-FAQ.txt OFL.txt README.txt feat_set_tuned.xml
-SUB_LIST= DIR="${FONTROOTDIR}/${FONTDIR}"
SUB_FILES= pkg-message
-do-configure:
- @${DO_NADA}
-
do-install:
- @${MKDIR} ${STAGEDIR}${FONTROOTDIR}/${FONTDIR}
- @(cd ${WRKSRC} ; ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTROOTDIR}/${FONTDIR})
-.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${STAGEDIR}${FONTSDIR}
+ @(cd ${WRKSRC} ; ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTSDIR})
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
-.endif
.include <bsd.port.mk>
diff --git a/x11-fonts/doulos-compact/distinfo b/x11-fonts/doulos-compact/distinfo
index 15b3e633d8b4..1f78d7109b15 100644
--- a/x11-fonts/doulos-compact/distinfo
+++ b/x11-fonts/doulos-compact/distinfo
@@ -1,2 +1,2 @@
-SHA256 (xorg/font/DoulosSILCompact-4.110.zip) = 9a9ccec7a722ba86d7b45aa335fa4fdab23e46392876358b6ac99dc6233a8b92
-SIZE (xorg/font/DoulosSILCompact-4.110.zip) = 1491644
+SHA256 (DoulosSILCompact-4.110.zip) = 9a9ccec7a722ba86d7b45aa335fa4fdab23e46392876358b6ac99dc6233a8b92
+SIZE (DoulosSILCompact-4.110.zip) = 1491644
diff --git a/x11-fonts/doulos-compact/files/pkg-message.in b/x11-fonts/doulos-compact/files/pkg-message.in
index b648d77200d4..9ce0ab9fbb48 100644
--- a/x11-fonts/doulos-compact/files/pkg-message.in
+++ b/x11-fonts/doulos-compact/files/pkg-message.in
@@ -1,7 +1,7 @@
To use these fonts, add the following line to the "Files" section of
xorg.conf:
- FontPath "%%DIR%%/"
+ FontPath "%%FONTSDIR%%/"
Users of older versions of X may additionally have to make sure that
the freetype module is loaded. Check /var/log/Xorg.0.log for error