diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-05-17 13:55:39 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-05-17 13:55:39 +0000 |
commit | 44bce50c1c98aae820f1eac94a5b959d3708835d (patch) | |
tree | 6cfb777388a14df9f9e96bc80854f62fea2fc937 /japanese | |
parent | - Update to version 4.00 (diff) |
- Add staging support
- Convert to new options framework
Notes
Notes:
svn path=/head/; revision=354324
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/vftool/Makefile | 36 | ||||
-rw-r--r-- | japanese/vftool/pkg-plist | 1 |
2 files changed, 14 insertions, 23 deletions
diff --git a/japanese/vftool/Makefile b/japanese/vftool/Makefile index 0c08429a046d..e2fe04faabc2 100644 --- a/japanese/vftool/Makefile +++ b/japanese/vftool/Makefile @@ -27,12 +27,9 @@ FONTSDIR= ${PREFIX}/share/fonts JFMDIR= ${WRKDIR}/share/texmf/fonts/tfm/ptex TARGETDIRS= vf-n2a vf-a2n vf-a2bk vf-p2pn -NO_STAGE= yes -.include <bsd.port.pre.mk> +ia64_BROKEN= Coredump during build on ia64 -.if ${ARCH} == "ia64" -BROKEN= Coredump during build on ia64 -.endif +OPTIONS_DEFINE= DOCS post-extract: (cd ${WRKDIR}; \ @@ -46,20 +43,15 @@ post-extract: ) do-install: - @(cd ${FONTSDIR}; ${MKDIR} ${TARGETDIRS}) - @(cd ${WRKSRC}; \ - ${INSTALL_PROGRAM} mka2bkvf mka2nvf mkn2avf mkp2nvf ${PREFIX}/bin; \ - ) -.for t in ${TARGETDIRS} - @${INSTALL_DATA} ${WRKSRC}/${t}/* ${FONTSDIR}/${t} -.endfor - @${INSTALL_DATA} ${WRKSRC}/jfm/* ${FONTSDIR}/vf-a2bk -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @(cd ${WRKSRC}; \ - ${INSTALL_SCRIPT} MKASC2BKall MKASC2NTT MKNTT2ASC MKPTEX2PNTT ${DOCSDIR}; \ - ${INSTALL_DATA} Makefile README vfdata.doc ${DOCSDIR}; \ - ) -.endif - -.include <bsd.port.post.mk> + (cd ${WRKSRC} && ${INSTALL_PROGRAM} mka2bkvf mka2nvf mkn2avf mkp2nvf \ + ${STAGEDIR}${PREFIX}/bin) + (cd ${WRKSRC} && ${COPYTREE_SHARE} "${TARGETDIRS}" \ + ${STAGEDIR}${FONTSDIR}) + ${INSTALL_DATA} ${WRKSRC}/jfm/* ${STAGEDIR}${FONTSDIR}/vf-a2bk + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_SCRIPT} MKASC2BKall MKASC2NTT MKNTT2ASC \ + MKPTEX2PNTT ${STAGEDIR}${DOCSDIR}) + (cd ${WRKSRC} && ${INSTALL_DATA} Makefile README vfdata.doc \ + ${STAGEDIR}${DOCSDIR}) + +.include <bsd.port.mk> diff --git a/japanese/vftool/pkg-plist b/japanese/vftool/pkg-plist index 46cbdddbb706..76c4418fcd63 100644 --- a/japanese/vftool/pkg-plist +++ b/japanese/vftool/pkg-plist @@ -660,4 +660,3 @@ share/fonts/vf-p2pn/tmin9.vf @dirrm share/fonts/vf-a2n @dirrm share/fonts/vf-n2a @dirrm share/fonts/vf-p2pn -@dirrmtry share/fonts |