aboutsummaryrefslogtreecommitdiff
path: root/japanese/less
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-05-05 16:12:13 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-05-05 16:12:13 +0000
commita0fe96a2e83c96f6208ec4323867b52147c8ab45 (patch)
tree6824ae66ac7f3757e586e27a0a20dd60154a7245 /japanese/less
parent3e43f147e37670b63c8cab22fa3ae7273a7c66e7 (diff)
downloadports-a0fe96a2e83c96f6208ec4323867b52147c8ab45.tar.gz
ports-a0fe96a2e83c96f6208ec4323867b52147c8ab45.zip
Notes
Diffstat (limited to 'japanese/less')
-rw-r--r--japanese/less/Makefile21
-rw-r--r--japanese/less/pkg-plist4
2 files changed, 13 insertions, 12 deletions
diff --git a/japanese/less/Makefile b/japanese/less/Makefile
index f49868ffe611..6355e8115686 100644
--- a/japanese/less/Makefile
+++ b/japanese/less/Makefile
@@ -1,12 +1,12 @@
# Created by: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
# $FreeBSD$
-PORTNAME= less+iso
+PORTNAME= less
PORTVERSION= 382.262
PORTREVISION= 3
CATEGORIES= japanese
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= nork
+MASTER_SITES= LOCAL/nork
+PKGNAMESUFFIX= +iso
DISTNAME= less-${PORTVERSION:R}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
regex_cs-lwp9k.shar.gz
@@ -27,13 +27,18 @@ COMMENT= Less + zcat + ISO-2022 + UTF-8 - a pager similar to more and pg
LICENSE= GPLv2
-MAKE_JOBS_SAFE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-cs-regex
-MAN1= jless.1 jlesskey.1
-DOCSDIR= ${PREFIX}/share/doc/less
+MAKE_JOBS_SAFE= yes
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
+
+MAN1= jless.1 jlesskey.1
+
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
post-extract:
cd ${WRKDIR} && \
@@ -42,8 +47,8 @@ post-extract:
README.lesw.euc ${WRKSRC}
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
diff --git a/japanese/less/pkg-plist b/japanese/less/pkg-plist
deleted file mode 100644
index 2b272cc6f595..000000000000
--- a/japanese/less/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $FreeBSD$
-bin/jless
-bin/jlesskey
-bin/jlessecho