blob: eec5ea2924bbe163af1af904ccd5dad0c1081c39 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# 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://www25.big.jp/~jam/less/:jless \
${MASTER_SITE_LOCAL:S/$/:gtags/}
MASTER_SITE_SUBDIR= sf/:gtags
DISTNAME= less-${PORTVERSION:R}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:jless \
${XGTAGS}${EXTRACT_SUFX}:gtags \
regex_cs-lwp9k.shar.gz:jless
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} \
${XGTAGS}${EXTRACT_SUFX}
PATCH_SITES= http://www25.big.jp/~jam/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>
|