2013-09-20 19:49:59 +00:00
|
|
|
# Created by: Hye-Shik Chang
|
2002-11-24 07:56:05 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= man
|
|
|
|
PORTVERSION= 021120
|
2012-06-01 05:26:28 +00:00
|
|
|
PORTREVISION= 3
|
2002-11-24 07:56:05 +00:00
|
|
|
CATEGORIES= korean
|
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
|
|
|
http://people.freebsd.org/~perky/distfiles/
|
|
|
|
MASTER_SITE_SUBDIR= perky
|
|
|
|
PKGNAMESUFFIX= -doc
|
|
|
|
DISTNAME= ko-man-doc-${PORTVERSION}
|
|
|
|
|
2010-05-23 21:16:16 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-25 06:25:35 +00:00
|
|
|
COMMENT= Korean online manual pages
|
2002-11-24 07:56:05 +00:00
|
|
|
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/groff:${PORTSDIR}/japanese/groff
|
|
|
|
|
2013-09-20 19:49:59 +00:00
|
|
|
NO_STAGE= yes
|
2002-11-24 07:56:05 +00:00
|
|
|
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} -rf ${WRKSRC}/scripts
|
|
|
|
|
|
|
|
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 -
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|