diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2013-10-16 04:56:32 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2013-10-16 04:56:32 +0000 |
commit | 273777f582a20873efaef92ea1d89f559622c473 (patch) | |
tree | b86b884adffab535711c1d1607d506b110aa1fa2 /japanese/font-ipa | |
parent | - Support staging (diff) |
- 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-ipa')
-rw-r--r-- | japanese/font-ipa/Makefile | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/japanese/font-ipa/Makefile b/japanese/font-ipa/Makefile index 57e64b4dd1b2..749f2b26374a 100644 --- a/japanese/font-ipa/Makefile +++ b/japanese/font-ipa/Makefile @@ -32,37 +32,35 @@ X_FONTSDIR= lib/X11/fonts OPTIONS_DEFINE= DOCS -NO_STAGE= yes .include <bsd.port.options.mk> post-extract: cd ${WRKSRC} && for F in *.ttf; do ${MV} $${F} $${F%.ttf}.otf; done do-install: - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/*.otf ${DATADIR} - ${MKDIR} ${PREFIX}/${LOCAL_FONTSDIR}/OTF - ${LN} -s -f \ - ${DATADIR}/ipa*.otf \ - ${PREFIX}/${LOCAL_FONTSDIR}/OTF/ - ${MKDIR} ${PREFIX}/${X_FONTSDIR}/OTF - ${LN} -s -f \ - ${DATADIR}/ipa*.otf \ - ${PREFIX}/${X_FONTSDIR}/OTF/ + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/*.otf ${STAGEDIR}${DATADIR} + ${MKDIR} ${STAGEDIR}${PREFIX}/${LOCAL_FONTSDIR}/OTF + cd ${STAGEDIR}${PREFIX}/${LOCAL_FONTSDIR}/OTF && ${LN} -s -f \ + ../${LOCAL_FONTSDIR:C,[^/]+,..,g}/${DATADIR_REL}/ipa*.otf . + ${MKDIR} ${STAGEDIR}${PREFIX}/${X_FONTSDIR}/OTF + cd ${STAGEDIR}${PREFIX}/${X_FONTSDIR}/OTF/ && ${LN} -s -f \ + ../${X_FONTSDIR:C,[^/]+,..,g}/${DATADIR_REL}/ipa*.otf . + ${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 ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .endif -post-install: - ${LOCALBASE}/bin/fc-cache -f -v ${PREFIX}/${X_FONTSDIR}/OTF +post-su-install: ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include <bsd.port.mk> |