diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2008-08-24 10:36:23 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2008-08-24 10:36:23 +0000 |
commit | b2312124aa699656ffbbdda77b07f916a15fe9ae (patch) | |
tree | 989da48fffc799a93bace3a1a5725e4fb9b1b2ee | |
parent | a6d7a814145867c7bab0d203ce720938403d3878 (diff) | |
download | ports-b2312124aa699656ffbbdda77b07f916a15fe9ae.tar.gz ports-b2312124aa699656ffbbdda77b07f916a15fe9ae.zip |
- Fix build when NOPORTDOCS is defined
- While I'm here, use DOCSDIR
Reported by: QAT
Notes
Notes:
svn path=/head/; revision=219073
-rw-r--r-- | japanese/wnn7egg/Makefile | 9 | ||||
-rw-r--r-- | japanese/wnn7egg/pkg-plist | 6 |
2 files changed, 8 insertions, 7 deletions
diff --git a/japanese/wnn7egg/Makefile b/japanese/wnn7egg/Makefile index cb7a35962e51..adc1044eb39d 100644 --- a/japanese/wnn7egg/Makefile +++ b/japanese/wnn7egg/Makefile @@ -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> diff --git a/japanese/wnn7egg/pkg-plist b/japanese/wnn7egg/pkg-plist index 43961ce38022..2696a1e733c2 100644 --- a/japanese/wnn7egg/pkg-plist +++ b/japanese/wnn7egg/pkg-plist @@ -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%% |