aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/ecofont
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-03-22 07:05:19 +0800
committerbapt <bapt@FreeBSD.org>2015-03-22 07:05:19 +0800
commitfe5a7e4bee2fc7a40343278a44de77847b5c91c5 (patch)
treeb9556c9042a9d20d7c71f49869f39f95afc00052 /x11-fonts/ecofont
parent9167139629893ea7664f3b1cf93141ff1eeb82b4 (diff)
downloadfreebsd-ports-gnome-fe5a7e4bee2fc7a40343278a44de77847b5c91c5.tar.gz
freebsd-ports-gnome-fe5a7e4bee2fc7a40343278a44de77847b5c91c5.tar.zst
freebsd-ports-gnome-fe5a7e4bee2fc7a40343278a44de77847b5c91c5.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
Diffstat (limited to 'x11-fonts/ecofont')
-rw-r--r--x11-fonts/ecofont/Makefile14
-rw-r--r--x11-fonts/ecofont/files/pkg-message.in2
2 files changed, 6 insertions, 10 deletions
diff --git a/x11-fonts/ecofont/Makefile b/x11-fonts/ecofont/Makefile
index c5b9aba80312..c6e3a665bae6 100644
--- a/x11-fonts/ecofont/Makefile
+++ b/x11-fonts/ecofont/Makefile
@@ -3,6 +3,7 @@
PORTNAME= ecofont
PORTVERSION= 2.05
+PORTREVISION= 1
CATEGORIES= x11-fonts
MASTER_SITES= http://www.ecofont.com/assets/files/
DISTNAME= ecofont_vera_sans_regular
@@ -10,22 +11,17 @@ DISTNAME= ecofont_vera_sans_regular
MAINTAINER= ports@FreeBSD.org
COMMENT= Environmentally friendly, ink saving typeface
-BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
-RUN_DEPENDS:= ${BUILD_DEPENDS}
-
-USES= zip
+USES= fonts zip
NO_BUILD= yes
-PLIST_FILES= ${ECOFONTDIR}/${ECOFONT}
+PLIST_FILES= ${FONTSDIR}/${ECOFONT}
-SUB_LIST= ECOFONTDIR="${PREFIX}/${ECOFONTDIR}"
SUB_FILES= pkg-message
ECOFONT= ${DISTNAME}.ttf
-ECOFONTDIR= lib/X11/fonts/${PORTNAME}
do-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/${ECOFONTDIR}
- ${INSTALL_DATA} ${WRKDIR}/${ECOFONT} ${STAGEDIR}${PREFIX}/${ECOFONTDIR}
+ @${MKDIR} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKDIR}/${ECOFONT} ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>
diff --git a/x11-fonts/ecofont/files/pkg-message.in b/x11-fonts/ecofont/files/pkg-message.in
index 5cdd135c8507..71c7dead6d37 100644
--- a/x11-fonts/ecofont/files/pkg-message.in
+++ b/x11-fonts/ecofont/files/pkg-message.in
@@ -5,4 +5,4 @@ the following line is in the "Modules" section of xorg.conf:
Then append the following to xorg.conf's "Files" section:
- FontPath "%%ECOFONTDIR%%/"
+ FontPath "%%FONTSDIR%%"