summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-08-15 07:05:34 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-08-15 07:05:34 +0000
commit353e9f9015e87c2cba8428e9b7243983f7594b92 (patch)
tree906d0b4011dc225c22de7bade63b08a16d21ca3c /japanese
parentStagify, add LICENSE. (diff)
Stagify.
Notes
Notes: svn path=/head/; revision=364940
Diffstat (limited to 'japanese')
-rw-r--r--japanese/cannadic/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/japanese/cannadic/Makefile b/japanese/cannadic/Makefile
index 4f866f244e57..70cb17305a1a 100644
--- a/japanese/cannadic/Makefile
+++ b/japanese/cannadic/Makefile
@@ -21,18 +21,14 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
DICS= gcanna.cbd gcanna.cld gcannaf.ctd
DICSFILE= dics.dir.gpl_canna
DICDIR= ${LOCALBASE}/share/canna/dic/canna
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
do-install:
+ @${MKDIR} ${STAGEDIR}${DICDIR}
cd ${WRKSRC} && \
- ${INSTALL} -c -g bin -m 664 -o bin ${DICS} ${DICSFILE} ${DICDIR}
+ ${INSTALL} -c -g bin -m 664 -o bin ${DICS} ${DICSFILE} ${STAGEDIR}${DICDIR}
${INSTALL_DATA} ${WRKDIR}/README.FreeBSD ${WRKSRC}
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>