1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/japanese/less/Makefile
Norikatsu Shigemura 0015c3d525 Update to 382.262.
2006-04-15 15:30:29 +00:00

51 lines
1.3 KiB
Makefile

# New ports collection makefile for: jless
# Date created: 7 March 1995
# Whom: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
#
# $FreeBSD$
#
PORTNAME= less+iso
PORTVERSION= 382.262
PORTREVISION= 0
CATEGORIES= japanese
MASTER_SITES= http://www25.big.jp/~jam/less/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= sf
DISTNAME= less-${PORTVERSION:R}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
regex_cs-lwp9k.shar.gz
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
PATCH_SITES= http://www25.big.jp/~jam/less/
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
PATCH_DIST_STRIP= -p1
MAINTAINER= ports@FreeBSD.org
COMMENT= Less + zcat + ISO-2022 - a pager similar to more and pg
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-cs-regex
MAN1= jless.1 jlesskey.1
DOCDIR= ${PREFIX}/share/doc/less
READMES= README.iso README.regex README.iso.jp README.regex.jp
post-patch:
(cd ${WRKSRC} ; \
${RM} -f COPYING; \
${GZCAT} ${DISTDIR}/regex_cs-lwp9k.shar.gz | ${SH}; \
${PATCH} < ${PATCHDIR}/regex_cs.c.patch )
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCDIR}
(cd ${WRKSRC}; ${INSTALL_DATA} ${READMES} ${DOCDIR})
.endif
.include <bsd.port.mk>