mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
3f651573ad
Begin autotools sanitization sequence by requiring ports to explicitly specify which version of {libtool,autoconf,automake} they need, erasing the concept of a "system default". For ports-in-waiting: USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13 USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213 USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14 Ports attempting to use the old style system after June 1st 2004 will be sorely disappointed.
52 lines
1.3 KiB
Makefile
52 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= 358.254
|
|
PORTREVISION= 2
|
|
CATEGORIES= japanese
|
|
MASTER_SITES= http://www.io.com/~kazushi/less/ \
|
|
${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= sf
|
|
DISTNAME= less-${PORTVERSION:R}
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
${XGTAGS}${EXTRACT_SUFX} \
|
|
regex_cs-lwp9k.shar.gz
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} \
|
|
${XGTAGS}${EXTRACT_SUFX}
|
|
|
|
PATCH_SITES= http://www.io.com/~kazushi/less/
|
|
PATCHFILES= ${DISTNAME}-iso${PORTVERSION:E}.patch.gz
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
MAINTAINER= sf@FreeBSD.org
|
|
COMMENT= Less + zcat + ISO-2022 - a pager similar to more and pg
|
|
|
|
USE_AUTOCONF_VER= 213
|
|
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
|
|
XGTAGS= ${DISTNAME}-iso${PORTVERSION:E}+gtags-20010110
|
|
|
|
post-patch:
|
|
(cd ${WRKSRC} ; \
|
|
${RM} -f configure COPYING; \
|
|
${GZCAT} ${DISTDIR}/regex_cs-lwp9k.shar.gz | ${SH} )
|
|
${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/${XGTAGS}/${XGTAGS}.diff
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCDIR}
|
|
(cd ${WRKSRC}; ${INSTALL_DATA} ${READMES} ${DOCDIR})
|
|
${INSTALL_DATA} ${WRKDIR}/${XGTAGS}/README ${DOCDIR}/README.gtags
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|