svn commit: r328621 - head/japanese/eb

Antoine Brodin antoine at FreeBSD.org
Sat Sep 28 19:09:27 UTC 2013


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>


More information about the svn-ports-all mailing list