diff options
author | hrs <hrs@FreeBSD.org> | 2009-05-31 17:15:47 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2009-05-31 17:15:47 +0800 |
commit | e108b1d688b6fbd6d4c5dab75af56f0d50d70156 (patch) | |
tree | 42c09b8484aee6ac588acbed2196f191335e5073 /japanese/font-vlgothic | |
parent | 382c7c051293a37c088f5c73406a68962042254f (diff) | |
download | freebsd-ports-gnome-e108b1d688b6fbd6d4c5dab75af56f0d50d70156.tar.gz freebsd-ports-gnome-e108b1d688b6fbd6d4c5dab75af56f0d50d70156.tar.zst freebsd-ports-gnome-e108b1d688b6fbd6d4c5dab75af56f0d50d70156.zip |
Ports for Japanese fonts have been reorganized in the following way:
japanese/ipa-ttfonts -> japanese/font-mplus-ipa
japanese/ipa-ttfonts -> japanese/font-ipa
japanese/kochi-ttfonts -> japanese/font-kochi
japanese/mplusfonts -> japanese/font-mplus
japanese/sazanami-ttf -> japanese/font-sazanami
japanese/shinonome -> japanese/font-shinonome
japanese/umefont -> japanese/font-ume
japanese/vlgothic -> japanese/font-vlgothic
While basically these are port name changes for consistency,
installation directories are also changed:
font files -> ${PREFIX}/share/${PORTNAME}/*
symlinks -> ${PREFIX}/share/fonts/{TTF,OTF,fontname,...}/*
symlinks -> ${PREFIX}/lib/X11/fonts/{TTF,OTF,misc,fontname,...}/*
A user-visible one is that the directory name "TrueType" is replaced
with "TTF".
Diffstat (limited to 'japanese/font-vlgothic')
-rw-r--r-- | japanese/font-vlgothic/Makefile | 19 | ||||
-rw-r--r-- | japanese/font-vlgothic/distinfo | 6 | ||||
-rw-r--r-- | japanese/font-vlgothic/files/pkg-install.in | 2 | ||||
-rw-r--r-- | japanese/font-vlgothic/pkg-plist | 20 |
4 files changed, 23 insertions, 24 deletions
diff --git a/japanese/font-vlgothic/Makefile b/japanese/font-vlgothic/Makefile index fc519838fd5e..ef5630b6a522 100644 --- a/japanese/font-vlgothic/Makefile +++ b/japanese/font-vlgothic/Makefile @@ -5,15 +5,15 @@ # $FreeBSD$ # -PORTNAME= vlgothic -PORTVERSION= 20090204 +PORTNAME= font-vlgothic +PORTVERSION= 20090422 CATEGORIES= japanese x11-fonts MASTER_SITES= SFJP -MASTER_SITE_SUBDIR= vlgothic/37455 +MASTER_SITE_SUBDIR= vlgothic/38942 DISTNAME= VLGothic-${PORTVERSION} MAINTAINER= hrs@FreeBSD.org -COMMENT= Free Japanese TrueType fonts named 'VLGothic' +COMMENT= VLGothic Japanese TrueType fonts RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig @@ -34,14 +34,13 @@ X_FONTSDIR= lib/X11/fonts do-install: ${MKDIR} ${DATADIR} - ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${WRKSRC} ${INSTALL_DATA} ${WRKSRC}/*.ttf ${DATADIR} - ${MKDIR} ${PREFIX}/${LOCAL_FONTSDIR}/TrueType/ + ${MKDIR} ${PREFIX}/${LOCAL_FONTSDIR}/TTF ${LN} -s -f ${DATADIR}/*.ttf \ - ${LOCALBASE}/${LOCAL_FONTSDIR}/TrueType/ - ${MKDIR} ${LOCALBASE}/${X_FONTSDIR}/TrueType + ${LOCALBASE}/${LOCAL_FONTSDIR}/TTF/ + ${MKDIR} ${LOCALBASE}/${X_FONTSDIR}/TTF ${LN} -s -f ${DATADIR}/*.ttf \ - ${LOCALBASE}/${X_FONTSDIR}/TrueType/ + ${LOCALBASE}/${X_FONTSDIR}/TTF/ ${INSTALL_DATA} ${FILESDIR}/20-unhint-vlgothic.conf \ ${FILESDIR}/62-fonts-vlgothic.conf \ ${PREFIX}/etc/fonts/conf.avail @@ -55,7 +54,7 @@ do-install: .endif post-install: - ${LOCALBASE}/bin/fc-cache -f -v ${LOCALBASE}/${X_FONTSDIR}/TrueType + ${LOCALBASE}/bin/fc-cache -s -f -v ${LOCALBASE}/${X_FONTSDIR}/TTF ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include <bsd.port.mk> diff --git a/japanese/font-vlgothic/distinfo b/japanese/font-vlgothic/distinfo index abfe6963890b..a913d08da98c 100644 --- a/japanese/font-vlgothic/distinfo +++ b/japanese/font-vlgothic/distinfo @@ -1,3 +1,3 @@ -MD5 (VLGothic-20090204.tar.bz2) = 54298db27daf7b3ec92aff5cfab72f02 -SHA256 (VLGothic-20090204.tar.bz2) = 6e1adb064ef968f0d60e3a4934d1fdf05c37579ecb138e1876b1af1fefb62aec -SIZE (VLGothic-20090204.tar.bz2) = 4662317 +MD5 (VLGothic-20090422.tar.bz2) = dcc9a788a47554344a47926211208473 +SHA256 (VLGothic-20090422.tar.bz2) = 3b61dfc15875626edb258574826de469753138ad1448bbb5fe6b9efe61433aa5 +SIZE (VLGothic-20090422.tar.bz2) = 4728873 diff --git a/japanese/font-vlgothic/files/pkg-install.in b/japanese/font-vlgothic/files/pkg-install.in index 1a3298463a08..40a459d2bfbc 100644 --- a/japanese/font-vlgothic/files/pkg-install.in +++ b/japanese/font-vlgothic/files/pkg-install.in @@ -1,7 +1,7 @@ #!/bin/sh # $FreeBSD$ -X_FONTSDIR=%%X_FONTSDIR%%/TrueType +X_FONTSDIR=%%X_FONTSDIR%%/TTF catfontsdir () { diff --git a/japanese/font-vlgothic/pkg-plist b/japanese/font-vlgothic/pkg-plist index 0274e6aa12cf..52c587d869ee 100644 --- a/japanese/font-vlgothic/pkg-plist +++ b/japanese/font-vlgothic/pkg-plist @@ -2,9 +2,9 @@ %%DATADIR%%/VL-PGothic-Regular.ttf %%DATADIR%%/VL-Gothic-Regular.ttf @dirrm %%DATADIR%% -%%LOCAL_FONTSDIR%%/TrueType/VL-PGothic-Regular.ttf -%%LOCAL_FONTSDIR%%/TrueType/VL-Gothic-Regular.ttf -@dirrmtry %%LOCAL_FONTSDIR%%/TrueType +%%LOCAL_FONTSDIR%%/TTF/VL-PGothic-Regular.ttf +%%LOCAL_FONTSDIR%%/TTF/VL-Gothic-Regular.ttf +@dirrmtry %%LOCAL_FONTSDIR%%/TTF @dirrmtry %%LOCAL_FONTSDIR%% etc/fonts/conf.avail/20-unhint-vlgothic.conf etc/fonts/conf.avail/62-fonts-vlgothic.conf @@ -12,10 +12,10 @@ etc/fonts/conf.avail/62-fonts-vlgothic.conf @exec ln -s -f ../conf.avail/62-fonts-vlgothic.conf %D/etc/fonts/conf.d/62-fonts-vlgothic.conf @unexec rm -f %D/etc/fonts/conf.d/20-unhint-vlgothic.conf @unexec rm -f %D/etc/fonts/conf.d/62-fonts-vlgothic.conf -%%X_FONTSDIR%%/TrueType/VL-PGothic-Regular.ttf -%%X_FONTSDIR%%/TrueType/VL-Gothic-Regular.ttf -@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%X_FONTSDIR%%/TrueType || true -@unexec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%X_FONTSDIR%%/TrueType || true -@unexec rm -f %D/%%X_FONTSDIR%%/TrueType/fonts.cache-1 -@dirrmtry %%X_FONTSDIR%%/TrueType -@unexec if [ -d %D/%%X_FONTSDIR%%/TrueType ]; then %%LOCALBASE%%/bin/fc-cache -f -v %D/%%X_FONTSDIR%%/TrueType || true; fi +%%X_FONTSDIR%%/TTF/VL-PGothic-Regular.ttf +%%X_FONTSDIR%%/TTF/VL-Gothic-Regular.ttf +@exec %%LOCALBASE%%/bin/fc-cache -s -f -v %D/%%X_FONTSDIR%%/TTF || true +@unexec %%LOCALBASE%%/bin/fc-cache -s -f -v %D/%%X_FONTSDIR%%/TTF || true +@unexec rm -f %D/%%X_FONTSDIR%%/TTF/fonts.cache-1 +@dirrmtry %%X_FONTSDIR%%/TTF +@unexec if [ -d %D/%%X_FONTSDIR%%/TTF ]; then %%LOCALBASE%%/bin/fc-cache -s -f -v %D/%%X_FONTSDIR%%/TTF || true; fi |