aboutsummaryrefslogtreecommitdiff
path: root/japanese/eb
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2013-09-28 19:09:26 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2013-09-28 19:09:26 +0000
commitf87c7f1461e521ed98b9302facaf71e353de120f (patch)
tree0381ebe7c4200ef07253b10db5ea3db2c0e55218 /japanese/eb
parente6012d5db8250cd441b9b7dfe48e8c5e36e50129 (diff)
downloadports-f87c7f1461e521ed98b9302facaf71e353de120f.tar.gz
ports-f87c7f1461e521ed98b9302facaf71e353de120f.zip
Convert to STAGEDIR
PR: ports/182390 Submitted by: Yasuhiro KIMURA (maintainer)
Notes
Notes: svn path=/head/; revision=328621
Diffstat (limited to 'japanese/eb')
-rw-r--r--japanese/eb/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/japanese/eb/Makefile b/japanese/eb/Makefile
index 5fd2977ff3ea..84383cc65a9e 100644
--- a/japanese/eb/Makefile
+++ b/japanese/eb/Makefile
@@ -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>