aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/ebd-fpw
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-05-09 04:09:13 +0800
committerpawel <pawel@FreeBSD.org>2014-05-09 04:09:13 +0800
commit13cd49befc20d505a6386aa76f369d3d82a6ab42 (patch)
treec3da1028d487fac5a136be164c68774f3e02b33d /japanese/ebd-fpw
parent6b18787375aa2d88b1f517989254cfc09a87495a (diff)
downloadfreebsd-ports-gnome-13cd49befc20d505a6386aa76f369d3d82a6ab42.tar.gz
freebsd-ports-gnome-13cd49befc20d505a6386aa76f369d3d82a6ab42.tar.zst
freebsd-ports-gnome-13cd49befc20d505a6386aa76f369d3d82a6ab42.zip
- Add staging support
- Define DOCS option
Diffstat (limited to 'japanese/ebd-fpw')
-rw-r--r--japanese/ebd-fpw/Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/japanese/ebd-fpw/Makefile b/japanese/ebd-fpw/Makefile
index 5903ca6d22d6..a7d1e22333cb 100644
--- a/japanese/ebd-fpw/Makefile
+++ b/japanese/ebd-fpw/Makefile
@@ -16,16 +16,15 @@ NO_BUILD= yes
WRKSRC= ${WRKDIR}/ebd
EXTRACT_BEFORE_ARGS= -qL
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- ${MKDIR} ${PREFIX}/share/dict/ebd-fpw/ebd/data
- ${INSTALL_DATA} ${WRKSRC}/ebd/data/honmon ${PREFIX}/share/dict/ebd-fpw/ebd/data
- ${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/ebd-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/ebd-fpw/ebd/data
+ ${INSTALL_DATA} ${WRKSRC}/ebd/data/honmon \
+ ${STAGEDIR}${PREFIX}/share/dict/ebd-fpw/ebd/data
+ ${INSTALL_DATA} ${WRKSRC}/catalogs ${STAGEDIR}${PREFIX}/share/dict/ebd-fpw
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} readme.1st readme.txt \
+ ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>