diff options
author | pawel <pawel@FreeBSD.org> | 2014-05-30 22:24:01 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-05-30 22:24:01 +0800 |
commit | 5b5e0c58e54a1f3d22aa3819d6d936b365f2fce6 (patch) | |
tree | 1b0d77f6d9bc104c80a5a6ed3ddf4987f1fa3dff /korean/man-doc | |
parent | d5f8b85e25f421f820ba48c0f8c4c76eed823bf9 (diff) | |
download | freebsd-ports-gnome-5b5e0c58e54a1f3d22aa3819d6d936b365f2fce6.tar.gz freebsd-ports-gnome-5b5e0c58e54a1f3d22aa3819d6d936b365f2fce6.tar.zst freebsd-ports-gnome-5b5e0c58e54a1f3d22aa3819d6d936b365f2fce6.zip |
Add staging support
Diffstat (limited to 'korean/man-doc')
-rw-r--r-- | korean/man-doc/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/korean/man-doc/Makefile b/korean/man-doc/Makefile index 77d3b3adfc35..44a9c1b6bc1e 100644 --- a/korean/man-doc/Makefile +++ b/korean/man-doc/Makefile @@ -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> |