1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

- Fix build when NOPORTDOCS is defined

- While I'm here, use DOCSDIR

Reported by:	QAT
This commit is contained in:
Rong-En Fan 2008-08-24 10:36:23 +00:00
parent a6d7a81414
commit b2312124aa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219073
2 changed files with 8 additions and 7 deletions

View File

@ -20,14 +20,14 @@ EMACSDIR= ${PREFIX}/share/emacs/site-lisp
ELISPDIR= ${EMACSDIR}/wnn7egg
SITEPKGDIR= ${PREFIX}/lib/xemacs/site-packages
XELISPDIR= ${SITEPKGDIR}/lisp/wnn7egg
DOCDIR= ${PREFIX}/share/doc/wnn7egg
DOCSDIR= ${PREFIX}/share/doc/wnn7egg
MANIFEST= MANIFEST.wnn7egg
WRKSRC= ${WRKDIR}/wnn7/elisp
NO_BUILD= yes
do-install:
${MKDIR} ${ELISPDIR} ${DOCDIR} ${XELISPDIR}
${MKDIR} ${ELISPDIR} ${XELISPDIR}
${MKDIR} ${ELISPDIR}/its-v309 ${XELISPDIR}/its-v309
${INSTALL_DATA} ${WRKSRC}/emacs20/*.el ${ELISPDIR}
${INSTALL_DATA} ${WRKSRC}/emacs20/its-v309/*.el ${ELISPDIR}/its-v309
@ -37,8 +37,9 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/xemacs21/its-v309/*.el ${XELISPDIR}/its-v309
${INSTALL_DATA} ${WRKSRC}/xemacs21/eggrc-wnn7 ${XELISPDIR}
.if !defined(NOPORTDOCS)
${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}/
${INSTALL_DATA} ${WRKSRC}/Setup_wnn7egg ${DOCDIR}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/Setup_wnn7egg ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -31,8 +31,8 @@ lib/xemacs/site-packages/lisp/wnn7egg/wnn7egg-leim.el
lib/xemacs/site-packages/lisp/wnn7egg/wnn7egg-lib.el
lib/xemacs/site-packages/lisp/wnn7egg/wnn7egg-rpcx21.el
lib/xemacs/site-packages/lisp/wnn7egg/wnn7egg.el
share/doc/wnn7egg/README
share/doc/wnn7egg/Setup_wnn7egg
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/Setup_wnn7egg
@dirrm share/emacs/site-lisp/wnn7egg/its-v309
@dirrm share/emacs/site-lisp/wnn7egg
@dirrm lib/xemacs/site-packages/lisp/wnn7egg/its-v309
@ -40,4 +40,4 @@ share/doc/wnn7egg/Setup_wnn7egg
@dirrm lib/xemacs/site-packages/lisp
@dirrm lib/xemacs/site-packages
@dirrm lib/xemacs
@dirrm share/doc/wnn7egg
%%PORTDOCS%%@dirrm %%DOCSDIR%%