svn commit: r349570 - head/japanese/yc.el

Pawel Pekala pawel at FreeBSD.org
Sat Mar 29 17:26:30 UTC 2014


Author: pawel
Date: Sat Mar 29 17:26:29 2014
New Revision: 349570
URL: http://svnweb.freebsd.org/changeset/ports/349570
QAT: https://qat.redports.org/buildarchive/r349570/

Log:
  - Add staging support [1]
  - Use option helper
  
  PR:		ports/188023 [1]
  Submitted by:	maintainer

Modified:
  head/japanese/yc.el/Makefile

Modified: head/japanese/yc.el/Makefile
==============================================================================
--- head/japanese/yc.el/Makefile	Sat Mar 29 17:16:52 2014	(r349569)
+++ head/japanese/yc.el/Makefile	Sat Mar 29 17:26:29 2014	(r349570)
@@ -27,24 +27,15 @@ PLIST_DIRS=	%%EMACS_VERSION_SITE_LISPDIR
 
 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>


More information about the svn-ports-all mailing list