Bug 182390 - [MAINTAINER] japanese/eb: add staging support
Summary: [MAINTAINER] japanese/eb: add staging support
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: Antoine Brodin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-26 05:50 UTC by Yasuhiro Kimura
Modified: 2013-09-28 20:43 UTC (History)
0 users

See Also:


Attachments
patch-ja-eb (840 bytes, text/plain)
2013-09-26 05:50 UTC, Yasuhiro Kimura
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2013-09-26 05:50:00 UTC
	
	Add staging support.
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2013-09-28 13:00:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->antoine

Take, I am not sure about the --with-pkgdocdir change
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-09-28 20:09:34 UTC
Author: antoine
Date: Sat Sep 28 19:09:26 2013
New Revision: 328621
URL: http://svnweb.freebsd.org/changeset/ports/328621

Log:
  Convert to STAGEDIR
  
  PR:		ports/182390
  Submitted by:	Yasuhiro KIMURA (maintainer)

Modified:
  head/japanese/eb/Makefile

Modified: head/japanese/eb/Makefile
==============================================================================
--- head/japanese/eb/Makefile	Sat Sep 28 18:54:58 2013	(r328620)
+++ head/japanese/eb/Makefile	Sat Sep 28 19:09:26 2013	(r328621)
@@ -8,7 +8,6 @@ CATEGORIES=	japanese
 MASTER_SITES=	ftp://ftp.sra.co.jp/pub/misc/eb/ \
 		ftp://ftp.sra.co.jp/pub/misc/eb/old/eb-${PORTVERSION:C/^([0-9]+)\.([0-9]+).*/\1.\2/}/
 DISTFILES=	${EBFILES} \
-		${LISTFILES} \
 		${APPENDIXFILES}
 EXTRACT_ONLY=	${EBFILES}
 
@@ -75,7 +74,6 @@ OPTIONS_DEFINE=	DOCS NLS
 
 APPENDIXDIR=	${DATADIR}/appendix
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MNLS}
@@ -100,12 +98,10 @@ post-extract:
 .endfor
 
 post-install:
-	(cd ${WRKDIR}/appendix && ${COPYTREE_SHARE} \* ${APPENDIXDIR} )
+	(cd ${WRKDIR}/appendix && ${COPYTREE_SHARE} . ${STAGEDIR}${APPENDIXDIR} )
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-.for doc in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR}
-.endfor
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .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 Antoine Brodin freebsd_committer freebsd_triage 2013-09-28 20:43:11 UTC
State Changed
From-To: open->closed

Patch committed,thanks!