freebsd-ports/korean/man-doc/Makefile
Tobias Kortkamp 435e9231b0 Undeprecate korean/man-doc and assign new maintainer
Hyun Hwang wants to maintain and update the Korean man pages.
2018-10-20 16:17:59 +00:00

33 lines
846 B
Makefile

# Created by: Hye-Shik Chang
# $FreeBSD$
PORTNAME= man
PORTVERSION= 021120
PORTREVISION= 3
CATEGORIES= korean
MASTER_SITES= LOCAL/perky \
http://people.freebsd.org/~perky/distfiles/
PKGNAMESUFFIX= -doc
DISTNAME= ko-man-doc-${PORTVERSION}
MAINTAINER= hyun@caffeinated.codes
COMMENT= Korean online manual pages
RUN_DEPENDS= ${LOCALBASE}/bin/groff:japanese/groff
post-patch:
${SED} -e 's,%%PREFIX%%,${PREFIX},g' -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
-e 's,gnroff,groff,g' ${WRKSRC}/scripts/kman.in > ${WRKDIR}/kman
${RM} -r ${WRKSRC}/scripts
do-build:
${FIND} ${WRKSRC} -type f | ${XARGS} ${GZIP_CMD}
do-install:
${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>