aboutsummaryrefslogtreecommitdiffstats
path: root/korean/unfonts-core
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 /korean/unfonts-core
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 'korean/unfonts-core')
-rw-r--r--korean/unfonts-core/Makefile22
1 files changed, 7 insertions, 15 deletions
diff --git a/korean/unfonts-core/Makefile b/korean/unfonts-core/Makefile
index 72bf6b290e1c..7a8cc27a2f30 100644
--- a/korean/unfonts-core/Makefile
+++ b/korean/unfonts-core/Makefile
@@ -3,7 +3,7 @@
PORTNAME= unfonts
PORTVERSION?= 1.0.2.080608
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES= korean x11-fonts
MASTER_SITES?= http://kldp.net/frs/download.php/4695/
PKGNAMESUFFIX= -${FONTCAT}
@@ -15,13 +15,13 @@ COMMENT= GPL'd Korean TrueType Fonts by UN Koaunghi (${FONTCAT})
LICENSE= GPLv2
LICENSE_FILE= ${FILESDIR}/COPYING
-BUILD_DEPENDS= ${LOCALBASE}/bin/mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
- ${LOCALBASE}/bin/mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
+USES= fonts
+NO_BUILD= yes
DISTINFO_FILE= ${PKGDIR}/distinfo.${FONTCAT}-ttf
WRKSRC= ${WRKDIR}/un-fonts
-FONTSDIR= lib/X11/fonts/${PORTNAME}-${FONTCAT}
+FONTNAME= ${PORTNAME}-${FONTCAT}
FONTCAT?= core
FONTLIST?= UnBatang \
UnBatangBold \
@@ -35,20 +35,12 @@ FONTLIST?= UnBatang \
UnGungseo \
UnPilgi \
UnPilgiBold
-FONTFILES= ${FONTLIST:S/$/.ttf/} fonts.dir fonts.scale
+FONTFILES= ${FONTLIST:S/$/.ttf/}
PLIST_FILES= ${FONTFILES:S|^|${FONTSDIR}/|}
-do-build:
- ${LOCALBASE}/bin/mkfontscale ${WRKSRC}
- ${LOCALBASE}/bin/mkfontdir ${WRKSRC}
-
do-install:
- ${MKDIR} ${STAGEDIR}${PREFIX}/${FONTSDIR}
- ${INSTALL_DATA} ${FONTFILES:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/${FONTSDIR}
-
-post-install:
- @${ECHO_CMD} "@exec fc-cache -s %D/${FONTSDIR} 2>/dev/null || true" >> ${TMPPLIST}
- @${ECHO_CMD} "@unexec fc-cache -s %D/${FONTSDIR} 2>/dev/null || true" >> ${TMPPLIST}
+ ${MKDIR} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${FONTFILES:S|^|${WRKSRC}/|} ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>