Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2014 14:24:02 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355848 - head/korean/man-doc
Message-ID:  <201405301424.s4UEO2eK090481@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri May 30 14:24:01 2014
New Revision: 355848
URL: http://svnweb.freebsd.org/changeset/ports/355848
QAT: https://qat.redports.org/buildarchive/r355848/

Log:
  Add staging support

Modified:
  head/korean/man-doc/Makefile

Modified: head/korean/man-doc/Makefile
==============================================================================
--- head/korean/man-doc/Makefile	Fri May 30 14:22:36 2014	(r355847)
+++ head/korean/man-doc/Makefile	Fri May 30 14:24:01 2014	(r355848)
@@ -16,7 +16,6 @@ COMMENT=	Korean online manual pages
 
 RUN_DEPENDS=	${LOCALBASE}/bin/groff:${PORTSDIR}/japanese/groff
 
-NO_STAGE=	yes
 post-patch:
 	${SED} -e 's,%%PREFIX%%,${PREFIX},g' -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
 		-e 's,gnroff,groff,g' ${WRKSRC}/scripts/kman.in > ${WRKDIR}/kman
@@ -26,9 +25,9 @@ do-build:
 	${FIND} ${WRKSRC} -type f | ${XARGS} ${GZIP_CMD}
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKDIR}/kman ${PREFIX}/bin
-	-${MKDIR} ${PREFIX}/share/man/ko_KR.eucKR
-	${TAR} -C ${WRKSRC} -cf - . | \
-		${TAR} -C ${PREFIX}/share/man/ko_KR.eucKR -xf -
+	${INSTALL_SCRIPT} ${WRKDIR}/kman ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/man/ko_KR.eucKR
+	(cd ${WRKSRC} && ${COPYTREE_SHARE} . \
+		${STAGEDIR}${PREFIX}/share/man/ko_KR.eucKR)
 
 .include <bsd.port.mk>



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