From f1ccf7bea09b8167bb671896855e6981f2aa65bd Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Sat, 29 Mar 2014 17:26:29 +0000 Subject: [PATCH] - Add staging support [1] - Use option helper PR: ports/188023 [1] Submitted by: maintainer --- japanese/yc.el/Makefile | 17 ++++------------- 1 file 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 - -.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} + ${INSTALL_SCRIPT} yc.el yc.elc ${STAGEDIR}${YC_LISPDIR} -post-install: - @${CAT} ${PKGMESSAGE} - -.include +.include