Bug 188023 - Update ports: japanese/yc.el
Summary: Update ports: japanese/yc.el
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-28 07:40 UTC by Takayuki Nakao
Modified: 2014-03-29 17:30 UTC (History)
0 users

See Also:


Attachments
file.diff (625 bytes, patch)
2014-03-28 07:40 UTC, Takayuki Nakao
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Takayuki Nakao 2014-03-28 07:40:00 UTC
Stage directory is supported.

Fix: The recursive diff is attached below;
Comment 1 Pawel Pekala freebsd_committer freebsd_triage 2014-03-29 16:38:59 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-03-29 17:26:33 UTC
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>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Pawel Pekala freebsd_committer freebsd_triage 2014-03-29 17:26:49 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!