aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-05-17 21:36:17 +0800
committerpawel <pawel@FreeBSD.org>2014-05-17 21:36:17 +0800
commit483428cda1bab5655d35524c6609ce93dfd94c98 (patch)
tree603b680b4b79e938e4c8b6244751e02100f4a451 /japanese
parentabb00ea2a20fdd68078f31238a9cd2e7b95ba78e (diff)
downloadfreebsd-ports-gnome-483428cda1bab5655d35524c6609ce93dfd94c98.tar.gz
freebsd-ports-gnome-483428cda1bab5655d35524c6609ce93dfd94c98.tar.zst
freebsd-ports-gnome-483428cda1bab5655d35524c6609ce93dfd94c98.zip
- Add staging support
- Convert to new options framework
Diffstat (limited to 'japanese')
-rw-r--r--japanese/vera-fpw/Makefile25
1 files changed, 13 insertions, 12 deletions
diff --git a/japanese/vera-fpw/Makefile b/japanese/vera-fpw/Makefile
index fdb97f149c74..03d3b5fd7aa7 100644
--- a/japanese/vera-fpw/Makefile
+++ b/japanese/vera-fpw/Makefile
@@ -18,18 +18,19 @@ EXTRACT_BEFORE_ARGS= -qL
VERA_VER= 1.8
VERAFPW_VER= 1.0.3
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- ${MKDIR} ${PREFIX}/share/dict/vera-fpw/vera/data
- ${MKDIR} ${PREFIX}/share/dict/vera-fpw/vera/gaiji
- ${INSTALL_DATA} ${WRKSRC}/vera/data/honmon ${PREFIX}/share/dict/vera-fpw/vera/data
- ${INSTALL_DATA} ${WRKSRC}/vera/gaiji/gai16h ${PREFIX}/share/dict/vera-fpw/vera/gaiji
- ${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/vera-fpw
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
-.for i in readme.txt vera.tex
- ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
-.endfor
-.endif
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/vera-fpw/vera/data
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/vera-fpw/vera/gaiji
+ ${INSTALL_DATA} ${WRKSRC}/vera/data/honmon \
+ ${STAGEDIR}${PREFIX}/share/dict/vera-fpw/vera/data
+ ${INSTALL_DATA} ${WRKSRC}/vera/gaiji/gai16h \
+ ${STAGEDIR}${PREFIX}/share/dict/vera-fpw/vera/gaiji
+ ${INSTALL_DATA} ${WRKSRC}/catalogs \
+ ${STAGEDIR}${PREFIX}/share/dict/vera-fpw
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} readme.txt vera.tex \
+ ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>