aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-05-09 02:17:13 +0800
committerpawel <pawel@FreeBSD.org>2014-05-09 02:17:13 +0800
commit7a455ba147db4b949499495722e6369238721cdb (patch)
tree65bda40b869478e47811333d3f6c86b8c9ae17f7 /japanese
parentedff0b81522348d5c1d55e3ccfe1c809da2e6110 (diff)
downloadfreebsd-ports-gnome-7a455ba147db4b949499495722e6369238721cdb.tar.gz
freebsd-ports-gnome-7a455ba147db4b949499495722e6369238721cdb.tar.zst
freebsd-ports-gnome-7a455ba147db4b949499495722e6369238721cdb.zip
- Add staging support
- Remove leading article from COMMENT - Define DOCS option
Diffstat (limited to 'japanese')
-rw-r--r--japanese/CGdic-fpw/Makefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/japanese/CGdic-fpw/Makefile b/japanese/CGdic-fpw/Makefile
index bf9bb95d6209..309c9966704d 100644
--- a/japanese/CGdic-fpw/Makefile
+++ b/japanese/CGdic-fpw/Makefile
@@ -9,23 +9,21 @@ MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/CGdic1.5h/
DISTNAME= CGdic1.5h-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= A Japanese dictionary for CG (EPWING V1 format)
+COMMENT= Japanese dictionary for CG (EPWING V1 format)
USES= zip:infozip
NO_BUILD= yes
WRKSRC= ${WRKDIR}/cg
EXTRACT_BEFORE_ARGS= -qL
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- ${MKDIR} ${PREFIX}/share/dict/CGdic-fpw/cg/data
- ${INSTALL_DATA} ${WRKSRC}/cg/data/honmon ${PREFIX}/share/dict/CGdic-fpw/cg/data
- ${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/CGdic-fpw
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
-.for i in readme
- ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
-.endfor
-.endif
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/CGdic-fpw/cg/data
+ ${INSTALL_DATA} ${WRKSRC}/cg/data/honmon \
+ ${STAGEDIR}${PREFIX}/share/dict/CGdic-fpw/cg/data
+ ${INSTALL_DATA} ${WRKSRC}/catalogs ${STAGEDIR}${PREFIX}/share/dict/CGdic-fpw
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/readme ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>