summaryrefslogtreecommitdiff
path: root/misc/ja-less/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/ja-less/Makefile')
-rw-r--r--misc/ja-less/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/misc/ja-less/Makefile b/misc/ja-less/Makefile
index f0d3768f475..717c99419d1 100644
--- a/misc/ja-less/Makefile
+++ b/misc/ja-less/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2008/02/04 14:34:09 obache Exp $
+# $NetBSD: Makefile,v 1.10 2008/05/17 14:18:45 obache Exp $
DISTNAME= less-382
PKGNAME= ja-${DISTNAME}.262
+PKGREVISION= 1
CATEGORIES= japanese misc
MASTER_SITES= ${MASTER_SITE_GNU:=less/}
@@ -17,6 +18,16 @@ MAINTAINER= komine@cc.meisei-u.ac.jp
HOMEPAGE= http://www25.big.jp/~jam/less/
COMMENT= Less + zcat + ISO-2022 - a pager similar to more and pg
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+
+SUBST_CLASSES+= cfgdir
+SUBST_STAGE.cfgdir= post-configure
+SUBST_FILES.cfgdir= less.nro lesskey.nro
+SUBST_SED.cfgdir= -e 's|/usr/local/etc|${PKG_SYSCONFDIR}|'
+
+.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"