aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--japanese/ryaku-fpw/Makefile21
1 files changed, 10 insertions, 11 deletions
diff --git a/japanese/ryaku-fpw/Makefile b/japanese/ryaku-fpw/Makefile
index 0870b57f173b..69a9dd3a965b 100644
--- a/japanese/ryaku-fpw/Makefile
+++ b/japanese/ryaku-fpw/Makefile
@@ -9,23 +9,22 @@ MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/Ryaku/
DISTNAME= Ryaku-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= An abbreviation (alphabet-->Japanese) dictionary (EPWING V1 format)
+COMMENT= Abbreviation (alphabet-->Japanese) dictionary (EPWING V1 format)
USES= zip:infozip
NO_BUILD= yes
WRKSRC= ${WRKDIR}/ryaku
EXTRACT_BEFORE_ARGS= -qL
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- ${MKDIR} ${PREFIX}/share/dict/ryaku-fpw/ryaku/data
- ${INSTALL_DATA} ${WRKSRC}/ryaku/data/honmon ${PREFIX}/share/dict/ryaku-fpw/ryaku/data
- ${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/ryaku-fpw
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
-.for i in readme
- ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
-.endfor
-.endif
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/ryaku-fpw/ryaku/data
+ ${INSTALL_DATA} ${WRKSRC}/ryaku/data/honmon \
+ ${STAGEDIR}${PREFIX}/share/dict/ryaku-fpw/ryaku/data
+ ${INSTALL_DATA} ${WRKSRC}/catalogs \
+ ${STAGEDIR}${PREFIX}/share/dict/ryaku-fpw
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/readme ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>