aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-05-09 02:01:17 +0800
committerpawel <pawel@FreeBSD.org>2014-05-09 02:01:17 +0800
commitedff0b81522348d5c1d55e3ccfe1c809da2e6110 (patch)
treee11bfbf3daa178aaf953a24cef6618edfc8f91f5 /japanese
parent8f7ef9722e6777040daa25870332a284337c6837 (diff)
downloadfreebsd-ports-gnome-edff0b81522348d5c1d55e3ccfe1c809da2e6110.tar.gz
freebsd-ports-gnome-edff0b81522348d5c1d55e3ccfe1c809da2e6110.tar.zst
freebsd-ports-gnome-edff0b81522348d5c1d55e3ccfe1c809da2e6110.zip
- Add staging support
- Remove leading article from COMMENT - Define DOCS option
Diffstat (limited to 'japanese')
-rw-r--r--japanese/ASCIIdates98-fpw/Makefile21
1 files changed, 10 insertions, 11 deletions
diff --git a/japanese/ASCIIdates98-fpw/Makefile b/japanese/ASCIIdates98-fpw/Makefile
index bd9d064691e6..c391af63ed22 100644
--- a/japanese/ASCIIdates98-fpw/Makefile
+++ b/japanese/ASCIIdates98-fpw/Makefile
@@ -9,23 +9,22 @@ MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/ASCIIdates98/
DISTNAME= ${PORTNAME:S/-fpw//}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= A Japanese dictionary for PC terms in '98 ASCII Dates Book (EPWING V1 format)
+COMMENT= Japanese dictionary for PC terms in '98 ASCII Dates Book (EPWING V1 format)
USES= zip:infozip
NO_BUILD= yes
WRKSRC= ${WRKDIR}/ascdates
EXTRACT_BEFORE_ARGS= -qL
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- ${MKDIR} ${PREFIX}/share/dict/ASCIIdates98-fpw/ascdates/data
- ${INSTALL_DATA} ${WRKSRC}/ascdates/data/honmon ${PREFIX}/share/dict/ASCIIdates98-fpw/ascdates/data
- ${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/ASCIIdates98-fpw
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
-.for i in readme
- ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
-.endfor
-.endif
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/ASCIIdates98-fpw/ascdates/data
+ ${INSTALL_DATA} ${WRKSRC}/ascdates/data/honmon \
+ ${STAGEDIR}${PREFIX}/share/dict/ASCIIdates98-fpw/ascdates/data
+ ${INSTALL_DATA} ${WRKSRC}/catalogs \
+ ${STAGEDIR}${PREFIX}/share/dict/ASCIIdates98-fpw
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/readme ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>