mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
0fed16e4b8
These manpages are around 2 decades outdated and were reported to be of poor quality such as being machine translated and having a lot of encoding errors. PR: 212125 Suggested by: hyun@caffeinated.codes (maintainer)
38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
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
|
|
|
|
# If this port is ever resurrected, please make sure issues 212125,
|
|
# 217826 and 218176 are addressed
|
|
DEPRECATED= Poor quality, severely outdated and undermaintained
|
|
EXPIRATION_DATE=2021-03-02
|
|
|
|
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>
|