aboutsummaryrefslogtreecommitdiff
path: root/japanese/wnn7egg
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-05-17 16:59:58 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-05-17 16:59:58 +0000
commit82fb8d90124173219a557b21fbb5e2b4d618a5e6 (patch)
treef45cfa55ce2b4cd3f82cdb99b366d71d2e83ad73 /japanese/wnn7egg
parent5795addbba9b9a79c66ce201661b96c571e7ef40 (diff)
downloadports-82fb8d90124173219a557b21fbb5e2b4d618a5e6.tar.gz
ports-82fb8d90124173219a557b21fbb5e2b4d618a5e6.zip
Notes
Diffstat (limited to 'japanese/wnn7egg')
-rw-r--r--japanese/wnn7egg/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/japanese/wnn7egg/Makefile b/japanese/wnn7egg/Makefile
index fa474c5f59d4..a168a3bfb82c 100644
--- a/japanese/wnn7egg/Makefile
+++ b/japanese/wnn7egg/Makefile
@@ -10,11 +10,11 @@ DISTNAME= wnn7-elisp-el-1.02-1
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
-COMMENT= A Wnn7 elisp client
+COMMENT= Wnn7 elisp client
-EMACSDIR= ${PREFIX}/share/emacs/site-lisp
+EMACSDIR= ${STAGEDIR}${PREFIX}/share/emacs/site-lisp
ELISPDIR= ${EMACSDIR}/wnn7egg
-SITEPKGDIR= ${PREFIX}/lib/xemacs/site-packages
+SITEPKGDIR= ${STAGEDIR}${PREFIX}/lib/xemacs/site-packages
XELISPDIR= ${SITEPKGDIR}/lisp/wnn7egg
DOCSDIR= ${PREFIX}/share/doc/wnn7egg
MANIFEST= MANIFEST.wnn7egg
@@ -24,7 +24,8 @@ NO_BUILD= yes
PORTDOCS= README Setup_wnn7egg
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
${MKDIR} ${ELISPDIR} ${XELISPDIR}
${MKDIR} ${ELISPDIR}/its-v309 ${XELISPDIR}/its-v309
@@ -35,9 +36,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/xemacs21/*.el ${XELISPDIR}
${INSTALL_DATA} ${WRKSRC}/xemacs21/its-v309/*.el ${XELISPDIR}/its-v309
${INSTALL_DATA} ${WRKSRC}/xemacs21/eggrc-wnn7 ${XELISPDIR}
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>