Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 2013 19:09:27 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r328621 - head/japanese/eb
Message-ID:  <201309281909.r8SJ9Rf9097448@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309281909.r8SJ9Rf9097448>