aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-05-09 19:56:41 +0800
committerpawel <pawel@FreeBSD.org>2014-05-09 19:56:41 +0800
commit0ae80b6599da2a87f51044b451149c194eb9d714 (patch)
treeb6ad3039a9f419ca9a6ec088345448ae7027e72d /japanese
parentc5ca462c6ebfde4b487eef1b6c58a129c3298535 (diff)
downloadfreebsd-ports-gnome-0ae80b6599da2a87f51044b451149c194eb9d714.tar.gz
freebsd-ports-gnome-0ae80b6599da2a87f51044b451149c194eb9d714.tar.zst
freebsd-ports-gnome-0ae80b6599da2a87f51044b451149c194eb9d714.zip
- Add staging support
- Remove leading article from COMMENT - Define DOCS option
Diffstat (limited to 'japanese')
-rw-r--r--japanese/edict-fpw/Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/japanese/edict-fpw/Makefile b/japanese/edict-fpw/Makefile
index 0b15404e5dc8..ee3983fbc4ec 100644
--- a/japanese/edict-fpw/Makefile
+++ b/japanese/edict-fpw/Makefile
@@ -9,23 +9,23 @@ MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/edict/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= A Japanese <-> English Dictionary (EPWING V1 format)
+COMMENT= Japanese <-> English Dictionary (EPWING V1 format)
USES= zip:infozip
NO_BUILD= yes
WRKSRC= ${WRKDIR}/edict
EXTRACT_BEFORE_ARGS= -qL
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- ${MKDIR} ${PREFIX}/share/dict/edict-fpw/edict/data
- ${INSTALL_DATA} ${WRKSRC}/edict/data/honmon ${PREFIX}/share/dict/edict-fpw/edict/data
- ${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/edict-fpw
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
-.for i in readme.pkg edict.txt
- ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
-.endfor
-.endif
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/edict-fpw/edict/data
+ ${INSTALL_DATA} ${WRKSRC}/edict/data/honmon \
+ ${STAGEDIR}${PREFIX}/share/dict/edict-fpw/edict/data
+ ${INSTALL_DATA} ${WRKSRC}/catalogs \
+ ${STAGEDIR}${PREFIX}/share/dict/edict-fpw
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} readme.pkg edict.txt \
+ ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>