aboutsummaryrefslogtreecommitdiff
path: root/japanese/font-migmix
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-10-16 04:56:32 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-10-16 04:56:32 +0000
commit273777f582a20873efaef92ea1d89f559622c473 (patch)
treeb86b884adffab535711c1d1607d506b110aa1fa2 /japanese/font-migmix
parent525d9315c338cfc96294467fa868f1a9ffaa3118 (diff)
downloadports-273777f582a20873efaef92ea1d89f559622c473.tar.gz
ports-273777f582a20873efaef92ea1d89f559622c473.zip
- Add STAGEDIR support.
- Update to 20130617 (japanese/font-migmix) - Update to 456 (japanese/font-ume)
Notes
Notes: svn path=/head/; revision=330478
Diffstat (limited to 'japanese/font-migmix')
-rw-r--r--japanese/font-migmix/Makefile53
-rw-r--r--japanese/font-migmix/distinfo16
2 files changed, 34 insertions, 35 deletions
diff --git a/japanese/font-migmix/Makefile b/japanese/font-migmix/Makefile
index be7a2a8ec591..db7d8c7c6c6c 100644
--- a/japanese/font-migmix/Makefile
+++ b/japanese/font-migmix/Makefile
@@ -1,10 +1,9 @@
# $FreeBSD$
PORTNAME= migmix
-PORTVERSION= 1.0.20130430
-PORTREVISION= 1
+PORTVERSION= 1.0.20130617
CATEGORIES= japanese x11-fonts
-MASTER_SITES= SFJP/mix-mplus-ipa/58721
+MASTER_SITES= SFJP/mix-mplus-ipa/59021
PKGNAMEPREFIX= ja-font-
DISTFILES= ${PORTNAME}-1m-${PORTVERSION:E}${EXTRACT_SUFX} \
${PORTNAME}-2m-${PORTVERSION:E}${EXTRACT_SUFX} \
@@ -32,41 +31,41 @@ X_FONTSDIR= lib/X11/fonts
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
.include <bsd.port.options.mk>
do-install:
cd ${WRKDIR}/${PORTNAME}-1m-${PORTVERSION:E}/ && \
- ${INSTALL_DATA} ipag00303/*.txt \
- migmix-README.txt \
- ${WRKDIR}
- ${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ipag00303/*.txt \
+ migmix-README.txt \
+ ${WRKDIR}
+ ${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} \
- ${WRKDIR}/${PORTNAME}-1m-${PORTVERSION:E}/*.ttf \
- ${WRKDIR}/${PORTNAME}-2m-${PORTVERSION:E}/*.ttf \
- ${WRKDIR}/${PORTNAME}-1p-${PORTVERSION:E}/*.ttf \
- ${WRKDIR}/${PORTNAME}-2p-${PORTVERSION:E}/*.ttf \
- ${DATADIR}
- ${MKDIR} ${PREFIX}/${LOCAL_FONTSDIR}/TTF
- ${LN} -s -f ${DATADIR}/migmix*.ttf \
- ${PREFIX}/${LOCAL_FONTSDIR}/TTF/
- ${MKDIR} ${PREFIX}/${X_FONTSDIR}/TTF
- ${LN} -s -f ${DATADIR}/migmix*.ttf \
- ${PREFIX}/${X_FONTSDIR}/TTF/
+ ${WRKDIR}/${PORTNAME}-1m-${PORTVERSION:E}/*.ttf \
+ ${WRKDIR}/${PORTNAME}-2m-${PORTVERSION:E}/*.ttf \
+ ${WRKDIR}/${PORTNAME}-1p-${PORTVERSION:E}/*.ttf \
+ ${WRKDIR}/${PORTNAME}-2p-${PORTVERSION:E}/*.ttf \
+ ${STAGEDIR}${DATADIR}
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${LOCAL_FONTSDIR}/TTF
+ cd ${STAGEDIR}${PREFIX}/${LOCAL_FONTSDIR}/TTF/ && ${LN} -s -f \
+ ../${LOCAL_FONTSDIR:C,[^/]+,..,g}/${DATADIR_REL}/migmix*.ttf .
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${X_FONTSDIR}/TTF
+ cd ${STAGEDIR}${PREFIX}/${X_FONTSDIR}/TTF/ && ${LN} -s -f \
+ ../${X_FONTSDIR:C,[^/]+,..,g}/${DATADIR_REL}/migmix*.ttf .
+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail \
+ ${STAGEDIR}${PREFIX}/etc/fonts/conf.d
${INSTALL_DATA} ${FILESDIR}/20-unhint-${PORTNAME}.conf \
- ${FILESDIR}/62-fonts-${PORTNAME}.conf \
- ${PREFIX}/etc/fonts/conf.avail
+ ${FILESDIR}/62-fonts-${PORTNAME}.conf \
+ ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail
${LN} -s -f ../conf.avail/20-unhint-${PORTNAME}.conf \
- ${PREFIX}/etc/fonts/conf.d/20-unhint-${PORTNAME}.conf
+ ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/20-unhint-${PORTNAME}.conf
${LN} -s -f ../conf.avail/62-fonts-${PORTNAME}.conf \
- ${PREFIX}/etc/fonts/conf.d/62-fonts-${PORTNAME}.conf
+ ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/62-fonts-${PORTNAME}.conf
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- cd ${WRKDIR} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKDIR} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
-post-install:
- ${LOCALBASE}/bin/fc-cache -s -f -v ${PREFIX}/${X_FONTSDIR}/TTF
+post-su-install:
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>
diff --git a/japanese/font-migmix/distinfo b/japanese/font-migmix/distinfo
index 5329f249377e..7b70e27453a5 100644
--- a/japanese/font-migmix/distinfo
+++ b/japanese/font-migmix/distinfo
@@ -1,8 +1,8 @@
-SHA256 (migmix-1m-20130430.zip) = 8371ad7d2c4cd4af2fe7df30645c06dc073a5d31cfd730777fdb45f26272b594
-SIZE (migmix-1m-20130430.zip) = 4269390
-SHA256 (migmix-2m-20130430.zip) = fcee3ef2781e82637fc412a7c1678140f4cd30401a0ebf7eb71e0903af2c9d38
-SIZE (migmix-2m-20130430.zip) = 4267709
-SHA256 (migmix-1p-20130430.zip) = a9913aebad7f7ed6326749cefa5f73a26c59fc3ecd7b744eef15e1ce3d35a5c7
-SIZE (migmix-1p-20130430.zip) = 4372856
-SHA256 (migmix-2p-20130430.zip) = 3aadef411cb9d993b294907b671806fb567a8a6d278a9fb5735295e30d3fae3f
-SIZE (migmix-2p-20130430.zip) = 4373751
+SHA256 (migmix-1m-20130617.zip) = c136e13059aa5ad071c1f88033b45bf86c8f1dda003ac7b6077b4c17c6d9532b
+SIZE (migmix-1m-20130617.zip) = 4259978
+SHA256 (migmix-2m-20130617.zip) = 0a28eb6ec58e35399332b7b8d0b1f6298e36ec1830d65fb4ab83a036e7e13b08
+SIZE (migmix-2m-20130617.zip) = 4258188
+SHA256 (migmix-1p-20130617.zip) = 13d131ecc295823bace9e4d53a689ae26f21f18335a004c1a3d987a273467833
+SIZE (migmix-1p-20130617.zip) = 4363373
+SHA256 (migmix-2p-20130617.zip) = 639bf85bca573d6d3be5487c8612dac88586d37c823ddb002584f59dcf7f3aa8
+SIZE (migmix-2p-20130617.zip) = 4363986