aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-05-14 04:11:58 +0800
committerpawel <pawel@FreeBSD.org>2014-05-14 04:11:58 +0800
commit1279e157f39ded5a0af19456ad308c6505a02b81 (patch)
tree2ea6b2120afcd29bdebdc2100dae700d7e4fbf69 /japanese
parent3a2864ac17182ba51587b19b4591326ac563d7f0 (diff)
downloadfreebsd-ports-gnome-1279e157f39ded5a0af19456ad308c6505a02b81.tar.gz
freebsd-ports-gnome-1279e157f39ded5a0af19456ad308c6505a02b81.tar.zst
freebsd-ports-gnome-1279e157f39ded5a0af19456ad308c6505a02b81.zip
- Add staging support
- Remove leading article from COMMENT - Define DOCS option
Diffstat (limited to 'japanese')
-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>