freebsd-ports/japanese/less/Makefile
Norikatsu Shigemura 90494ef61f Fix build on sparc64.
Because configure's timestamp is older than configure.ac's
one.  Almost configure's timestamp == configure.ac's one,
but this is not good.  So I enforced that configure's
timestamp is always newer than configure.ac's one.

Pointed out by:	pointyhat via kris
2006-06-12 15:21:21 +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= nork
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= nork@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 )
${TOUCH} ${WRKSRC}/configure
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCDIR}
(cd ${WRKSRC}; ${INSTALL_DATA} ${READMES} ${DOCDIR})
.endif
.include <bsd.port.mk>