svn commit: r355848 - head/korean/man-doc

Pawel Pekala pawel at FreeBSD.org
Fri May 30 14:24:02 UTC 2014


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>


More information about the svn-ports-all mailing list