diff options
author | pawel <pawel@FreeBSD.org> | 2014-05-18 00:37:07 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-05-18 00:37:07 +0800 |
commit | 3227c5d93284e54158f17468e0ffc4d7dade019f (patch) | |
tree | 8457e71c7cae3155567efc2af7dc87d7f761c598 /japanese | |
parent | 34a1be28b36dc2b8ef230b58fd3c6f628b627157 (diff) | |
download | freebsd-ports-gnome-3227c5d93284e54158f17468e0ffc4d7dade019f.tar.gz freebsd-ports-gnome-3227c5d93284e54158f17468e0ffc4d7dade019f.tar.zst freebsd-ports-gnome-3227c5d93284e54158f17468e0ffc4d7dade019f.zip |
- Add staging support
- Convert to new options framework
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/wdic-fpw/Makefile | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/japanese/wdic-fpw/Makefile b/japanese/wdic-fpw/Makefile index eefd56e93753..a6586416ca63 100644 --- a/japanese/wdic-fpw/Makefile +++ b/japanese/wdic-fpw/Makefile @@ -16,18 +16,19 @@ NO_BUILD= yes WRKSRC= ${WRKDIR}/wdic EXTRACT_BEFORE_ARGS= -qL -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + do-install: - ${MKDIR} ${PREFIX}/share/dict/wdic-fpw/wdic/data - ${MKDIR} ${PREFIX}/share/dict/wdic-fpw/wdic/gaiji - ${INSTALL_DATA} ${WRKSRC}/wdic/data/honmon ${PREFIX}/share/dict/wdic-fpw/wdic/data - ${INSTALL_DATA} ${WRKSRC}/wdic/gaiji/gai16h ${PREFIX}/share/dict/wdic-fpw/wdic/gaiji - ${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/wdic-fpw -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} -.for i in readme.1st readme.txt - ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR} -.endfor -.endif + @${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/wdic-fpw/wdic/data + @${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/wdic-fpw/wdic/gaiji + ${INSTALL_DATA} ${WRKSRC}/wdic/data/honmon \ + ${STAGEDIR}${PREFIX}/share/dict/wdic-fpw/wdic/data + ${INSTALL_DATA} ${WRKSRC}/wdic/gaiji/gai16h \ + ${STAGEDIR}${PREFIX}/share/dict/wdic-fpw/wdic/gaiji + ${INSTALL_DATA} ${WRKSRC}/catalogs \ + ${STAGEDIR}${PREFIX}/share/dict/wdic-fpw + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} readme.1st readme.txt \ + ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk> |