1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
This commit is contained in:
Vanilla I. Shu 2014-08-15 07:05:34 +00:00
parent 9400fc81f9
commit 353e9f9015
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364940

View File

@ -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>