summaryrefslogtreecommitdiff
path: root/misc/ja-less/Makefile
blob: eba0745301e841fe72cfb99dcd867c818c66141d (plain)
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
# $NetBSD: Makefile,v 1.16 2022/02/10 10:49:42 pin Exp $

DISTNAME=	less-382
PKGNAME=	ja-${DISTNAME}.262.03
CATEGORIES=	japanese misc
MASTER_SITES=	${MASTER_SITE_GNU:=less/}

PATCH_SITES=		http://ryo-on.users.sourceforge.net/distrib/ja-less/
PATCHFILES=		less-382-iso258.patch.gz
PATCHFILES+=		less-382-iso258-259.patch.gz
PATCHFILES+=		less-382-iso259-260.patch.gz
PATCHFILES+=		less-382-iso260-261.patch.gz
PATCHFILES+=		less-382-iso261-262.patch.gz
PATCHFILES+=		less-382-iso262.ext03.patch.gz
PATCH_DIST_STRIP=	-p1

MAINTAINER=	komine@cc.meisei-u.ac.jp
# HOMEPAGE is gone.
#HOMEPAGE=	http://www25.big.jp/~jam/less/
COMMENT=	Less + zcat + ISO-2022 + UTF-8 - a pager similar to more and pg

GNU_CONFIGURE=	yes

CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR:Q}

SUBST_CLASSES+=		cfgdir
SUBST_STAGE.cfgdir=	post-configure
SUBST_FILES.cfgdir=	less.nro
SUBST_SED.cfgdir=	-e 's|/usr/local/etc|${PKG_SYSCONFDIR}|'

.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"