aboutsummaryrefslogtreecommitdiffstats
path: root/korean
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2011-08-11 05:12:18 +0800
committerjkim <jkim@FreeBSD.org>2011-08-11 05:12:18 +0800
commitf1b5d8b7a166e34436d7c9a9474a9949f9e9c263 (patch)
tree9fe1315316518d87d9197b47681cbdd81097e41d /korean
parentd0dcd9ea06d44c6ec837452766426d1150d1eb7b (diff)
downloadfreebsd-ports-gnome-f1b5d8b7a166e34436d7c9a9474a9949f9e9c263.tar.gz
freebsd-ports-gnome-f1b5d8b7a166e34436d7c9a9474a9949f9e9c263.tar.zst
freebsd-ports-gnome-f1b5d8b7a166e34436d7c9a9474a9949f9e9c263.zip
- Update to 12 and grab maintainership.
- Clarify the lincense. It was relicensed under the Artistic License 1.0 or later by the author since version 12.
Diffstat (limited to 'korean')
-rw-r--r--korean/aleefonts-ttf/Makefile37
-rw-r--r--korean/aleefonts-ttf/distinfo4
-rw-r--r--korean/aleefonts-ttf/pkg-plist5
3 files changed, 32 insertions, 14 deletions
diff --git a/korean/aleefonts-ttf/Makefile b/korean/aleefonts-ttf/Makefile
index d012f0399f65..164aa7de1140 100644
--- a/korean/aleefonts-ttf/Makefile
+++ b/korean/aleefonts-ttf/Makefile
@@ -5,25 +5,48 @@
# $FreeBSD$
PORTNAME= aleefonts
-PORTVERSION= 11.5
+PORTVERSION= 12
CATEGORIES= korean x11-fonts
MASTER_SITES= DEBIAN
MASTER_SITE_SUBDIR= pool/main/t/ttf-alee
PKGNAMESUFFIX= -ttf
DISTNAME= ttf-alee_${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= jkim@FreeBSD.org
COMMENT= A-Lee's Hangul truetype fonts #'
-NO_BUILD= yes
+LICENSE= ART10
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS+= ${LOCALBASE}/bin/mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
+ ${LOCALBASE}/bin/mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
+
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
-FONTDIR= ${PREFIX}/lib/X11/fonts/TrueType
+FONTSDIR= lib/X11/fonts/alee${PKGNAMESUFFIX}
FONTLIST= Bandal EunjinNakseo Bangwool Eunjin Guseul
+PLIST_DIRS= ${FONTSDIR}
+.for f in ${FONTLIST}
+PLIST_FILES+= ${FONTSDIR}/${f}.ttf
+.endfor
+PLIST_FILES+= ${FONTSDIR}/fonts.dir \
+ ${FONTSDIR}/fonts.scale
+
+do-build:
+ ${LOCALBASE}/bin/mkfontscale ${WRKSRC}
+ ${LOCALBASE}/bin/mkfontdir ${WRKSRC}
+
do-install:
- ${MKDIR} ${FONTDIR}
-.for FONTNAME in ${FONTLIST}
- ${INSTALL_DATA} '${WRKSRC}/${FONTNAME}.ttf' ${FONTDIR}
+ ${MKDIR} ${PREFIX}/${FONTSDIR}
+.for f in ${FONTLIST}
+ ${INSTALL_DATA} ${WRKSRC}/${f}.ttf ${PREFIX}/${FONTSDIR}
.endfor
+ ${INSTALL_DATA} ${WRKSRC}/fonts.dir ${PREFIX}/${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/fonts.scale ${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}
+ @-${LOCALBASE}/bin/fc-cache -s ${PREFIX}/${FONTSDIR} 2>/dev/null
.include <bsd.port.mk>
diff --git a/korean/aleefonts-ttf/distinfo b/korean/aleefonts-ttf/distinfo
index 76c83408282c..9e5a853ca46f 100644
--- a/korean/aleefonts-ttf/distinfo
+++ b/korean/aleefonts-ttf/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ttf-alee_11.5.tar.gz) = fa7a9bb071ba2938bc7510462be8bf633bd326b550c860b896b731aa32cd7f47
-SIZE (ttf-alee_11.5.tar.gz) = 775795
+SHA256 (ttf-alee_12.tar.gz) = a0d0e4dab2c0f592c7709dbadebda18232a75ca0dc17b3238d0397fe79e7c841
+SIZE (ttf-alee_12.tar.gz) = 776652
diff --git a/korean/aleefonts-ttf/pkg-plist b/korean/aleefonts-ttf/pkg-plist
deleted file mode 100644
index bce37d7a06b1..000000000000
--- a/korean/aleefonts-ttf/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-lib/X11/fonts/TrueType/Bandal.ttf
-lib/X11/fonts/TrueType/Bangwool.ttf
-lib/X11/fonts/TrueType/Eunjin.ttf
-lib/X11/fonts/TrueType/EunjinNakseo.ttf
-lib/X11/fonts/TrueType/Guseul.ttf