blob: 77d3b3adfc354e5991aba7321846d7ecb0cbaef8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Created by: Hye-Shik Chang
# $FreeBSD$
PORTNAME= man
PORTVERSION= 021120
PORTREVISION= 3
CATEGORIES= korean
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://people.freebsd.org/~perky/distfiles/
MASTER_SITE_SUBDIR= perky
PKGNAMESUFFIX= -doc
DISTNAME= ko-man-doc-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
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
${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>
|