aboutsummaryrefslogtreecommitdiff
path: root/japanese/yc.el
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-03-29 17:26:29 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-03-29 17:26:29 +0000
commitf1ccf7bea09b8167bb671896855e6981f2aa65bd (patch)
treec684e61affd3f8e1a509bdfe78b7f785c47b99b8 /japanese/yc.el
parent0eb7a49b04b6c09c4317df161aac96ddee116180 (diff)
downloadports-f1ccf7bea09b8167bb671896855e6981f2aa65bd.tar.gz
ports-f1ccf7bea09b8167bb671896855e6981f2aa65bd.zip
- Add staging support [1]
- Use option helper PR: ports/188023 [1] Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=349570
Diffstat (limited to 'japanese/yc.el')
-rw-r--r--japanese/yc.el/Makefile17
1 files changed, 4 insertions, 13 deletions
diff --git a/japanese/yc.el/Makefile b/japanese/yc.el/Makefile
index 8cf481f76e4f..65365153633b 100644
--- a/japanese/yc.el/Makefile
+++ b/japanese/yc.el/Makefile
@@ -27,24 +27,15 @@ PLIST_DIRS= %%EMACS_VERSION_SITE_LISPDIR%%/yc
OPTIONS_DEFINE= ICANNA
ICANNA_DESC= Enable icanna support
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MICANNA}
-RUN_DEPENDS+= icanna:${PORTSDIR}/japanese/icanna
-.endif
+ICANNA_RUN_DEPENDS= icanna:${PORTSDIR}/japanese/icanna
do-build:
@cd ${WRKDIR} && \
${EMACS_CMD} -batch -f batch-byte-compile yc.el
do-install:
- @${MKDIR} ${YC_LISPDIR}
+ @${MKDIR} ${STAGEDIR}${YC_LISPDIR}
@cd ${WRKDIR} && \
- ${INSTALL_SCRIPT} yc.el yc.elc ${YC_LISPDIR}
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ ${INSTALL_SCRIPT} yc.el yc.elc ${STAGEDIR}${YC_LISPDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>