diff options
author | pawel <pawel@FreeBSD.org> | 2014-03-30 01:26:29 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-03-30 01:26:29 +0800 |
commit | c672bca9b0769983b1895c9cf3300b405d15292c (patch) | |
tree | c684e61affd3f8e1a509bdfe78b7f785c47b99b8 /japanese/yc.el | |
parent | bfadc8c4731a14f9fd1e5b74fdb5683c7e71ef7c (diff) | |
download | freebsd-ports-gnome-c672bca9b0769983b1895c9cf3300b405d15292c.tar.gz freebsd-ports-gnome-c672bca9b0769983b1895c9cf3300b405d15292c.tar.zst freebsd-ports-gnome-c672bca9b0769983b1895c9cf3300b405d15292c.zip |
- Add staging support [1]
- Use option helper
PR: ports/188023 [1]
Submitted by: maintainer
Diffstat (limited to 'japanese/yc.el')
-rw-r--r-- | japanese/yc.el/Makefile | 17 |
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> |