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-motoya-al/Makefile | |
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-motoya-al/Makefile')
-rw-r--r-- | japanese/font-motoya-al/Makefile | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/japanese/font-motoya-al/Makefile b/japanese/font-motoya-al/Makefile index f9308fbd4162..3948c0391e06 100644 --- a/japanese/font-motoya-al/Makefile +++ b/japanese/font-motoya-al/Makefile @@ -28,34 +28,34 @@ X_FONTSDIR= lib/X11/fonts OPTIONS_DEFINE= DOCS -NO_STAGE= yes .include <bsd.port.options.mk> do-install: - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/*.ttf ${DATADIR} - ${MKDIR} ${PREFIX}/${LOCAL_FONTSDIR}/TTF - ${LN} -s -f \ - ${DATADIR}/MTL*.ttf \ - ${PREFIX}/${LOCAL_FONTSDIR}/TTF/ - ${MKDIR} ${PREFIX}/${X_FONTSDIR}/TTF - ${LN} -s -f \ - ${DATADIR}/MTL*.ttf \ - ${PREFIX}/${X_FONTSDIR}/TTF/ + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${DATADIR} + ${MKDIR} ${STAGEDIR}${PREFIX}/${LOCAL_FONTSDIR}/TTF + cd ${STAGEDIR}${PREFIX}/${LOCAL_FONTSDIR}/TTF && ${LN} -s -f \ + ../${LOCAL_FONTSDIR:C,[^/]+,..,g}/${DATADIR_REL}/MTL*.ttf . + ${MKDIR} ${STAGEDIR}${PREFIX}/${X_FONTSDIR}/TTF + cd ${STAGEDIR}${PREFIX}/${X_FONTSDIR}/TTF && ${LN} -s -f \ + ../${X_FONTSDIR:C,[^/]+,..,g}/${DATADIR_REL}/MTL*.ttf . + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail \ + ${STAGEDIR}${PREFIX}/etc/fonts/conf.d ${INSTALL_DATA} ${FILESDIR}/20-unhint-motoya-al.conf \ - ${FILESDIR}/62-fonts-motoya-al.conf \ - ${PREFIX}/etc/fonts/conf.avail + ${FILESDIR}/62-fonts-motoya-al.conf \ + ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail ${LN} -s -f ../conf.avail/20-unhint-motoya-al.conf \ - ${PREFIX}/etc/fonts/conf.d/20-unhint-motoya-al.conf + ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/20-unhint-motoya-al.conf ${LN} -s -f ../conf.avail/62-fonts-motoya-al.conf \ - ${PREFIX}/etc/fonts/conf.d/62-fonts-motoya-al.conf -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} -.endif + ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/62-fonts-motoya-al.conf -post-install: - ${LOCALBASE}/bin/fc-cache -f -v ${PREFIX}/${X_FONTSDIR}/TTF +post-su-install: ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL +.if ${PORT_OPTIONS:MDOCS} +post-install: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} +.endif + .include <bsd.port.mk> |