blob: 9bae19f3abc8f2e17c24ad5aca19a35b8f18b310 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Created by: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
# $FreeBSD$
PORTNAME= less
PORTVERSION= 382.262
PORTREVISION= 3
CATEGORIES= japanese
MASTER_SITES= LOCAL/nork
PKGNAMESUFFIX= +iso
DISTNAME= less-${PORTVERSION:R}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
regex_cs-lwp9k.shar.gz
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
PATCH_SITES= LOCAL/nork
PATCHFILES= ${DISTNAME}-iso258.patch.gz \
${DISTNAME}-iso258-259.patch.gz \
${DISTNAME}-iso259-260.patch.gz \
${DISTNAME}-iso260-261.patch.gz \
${DISTNAME}-iso261-${PORTVERSION:E}.patch.gz \
${DISTNAME}-iso${PORTVERSION:E}.ext03.patch.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= hrs@FreeBSD.org
COMMENT= Less + zcat + ISO-2022 + UTF-8 - a pager similar to more and pg
LICENSE= GPLv2
USES= desthack ncurses
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-cs-regex
PORTDOCS= README.iso README.iso.jp README.lesw.euc \
README.regex README.regex.jp README.ext.jp
PLIST_FILES= bin/jless bin/jlesskey bin/jlessecho \
man/man1/jless.1.gz man/man1/jlesskey.1.gz
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-extract:
cd ${WRKDIR} && \
${GZCAT} ${DISTDIR}/regex_cs-lwp9k.shar.gz | ${SH} && \
${MV} regex_cs.[ch] README.regex README.regex.jp \
README.lesw.euc ${WRKSRC}
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|