summaryrefslogtreecommitdiff
path: root/korean/unfonts-core
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-03-21 23:05:19 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-03-21 23:05:19 +0000
commita5da770e67afce95b829c38c5d5330fe69f7822c (patch)
treeb9556c9042a9d20d7c71f49869f39f95afc00052 /korean/unfonts-core
parenttextproc/aspell: add CPE information (diff)
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
Notes
Notes: svn path=/head/; revision=381876
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>