aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-05-18 00:59:58 +0800
committerpawel <pawel@FreeBSD.org>2014-05-18 00:59:58 +0800
commit4c0523ef8906d2268e2c91afc2df78eb52bb8c0a (patch)
treef45cfa55ce2b4cd3f82cdb99b366d71d2e83ad73 /japanese
parent28e42c75bcdfdc70a96743cb31f866dc008a24dd (diff)
downloadfreebsd-ports-gnome-4c0523ef8906d2268e2c91afc2df78eb52bb8c0a.tar.gz
freebsd-ports-gnome-4c0523ef8906d2268e2c91afc2df78eb52bb8c0a.tar.zst
freebsd-ports-gnome-4c0523ef8906d2268e2c91afc2df78eb52bb8c0a.zip
- Add staging support
- Convert to new options framework - Remove leading article from COMMENT
Diffstat (limited to 'japanese')
-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>