aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-05-09 20:55:16 +0800
committerpawel <pawel@FreeBSD.org>2014-05-09 20:55:16 +0800
commitf83a0b21fb29f4ac3852fe1d4f1aa957d7083a6c (patch)
tree61029e822b34efdec18aec024211b0bd6afe4f71 /japanese
parent35a6291ebfff03f7a8c4e043c3f1309931bfccf2 (diff)
downloadfreebsd-ports-gnome-f83a0b21fb29f4ac3852fe1d4f1aa957d7083a6c.tar.gz
freebsd-ports-gnome-f83a0b21fb29f4ac3852fe1d4f1aa957d7083a6c.tar.zst
freebsd-ports-gnome-f83a0b21fb29f4ac3852fe1d4f1aa957d7083a6c.zip
- Add staging support
- Remove leading article from COMMENT - Define DOCS option
Diffstat (limited to 'japanese')
-rw-r--r--japanese/flower-fpw/Makefile21
1 files changed, 10 insertions, 11 deletions
diff --git a/japanese/flower-fpw/Makefile b/japanese/flower-fpw/Makefile
index db12f18e804a..25306889e24c 100644
--- a/japanese/flower-fpw/Makefile
+++ b/japanese/flower-fpw/Makefile
@@ -9,23 +9,22 @@ MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/Flower/
DISTNAME= Flower-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= A dictionary for flowers (EPWING V1 format)
+COMMENT= Dictionary for flowers (EPWING V1 format)
USES= zip:infozip
NO_BUILD= yes
WRKSRC= ${WRKDIR}/flower
EXTRACT_BEFORE_ARGS= -qL
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- ${MKDIR} ${PREFIX}/share/dict/flower-fpw/flower/data
- ${INSTALL_DATA} ${WRKSRC}/flower/data/honmon ${PREFIX}/share/dict/flower-fpw/flower/data
- ${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/flower-fpw
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
-.for i in readme
- ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
-.endfor
-.endif
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/flower-fpw/flower/data
+ ${INSTALL_DATA} ${WRKSRC}/flower/data/honmon \
+ ${STAGEDIR}${PREFIX}/share/dict/flower-fpw/flower/data
+ ${INSTALL_DATA} ${WRKSRC}/catalogs \
+ ${STAGEDIR}${PREFIX}/share/dict/flower-fpw
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/readme ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>