blob: b57d92aff558f2bee18bedbeab879402fbb6b9c8 (
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
52
53
|
# Ports collection makefile for: more
# Date created: 24 May 2000
# Whom: Tim van der Hoek <hoek@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= 44bsd-more
PORTVERSION= ${RELDATE}
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= hoek
MAINTAINER= hoek@FreeBSD.org
COMMENT= The pager installed with FreeBSD before less(1) was imported
USE_BZIP2= yes
USE_REINPLACE= yes
NO_WRKSUBDIR= yes
MAN1= 44bsd-more.1
RELDATE= 20000521
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502126
BROKEN= "Does not compile on FreeBSD >= 5.x"
.endif
post-extract:
-cd ${WRKSRC} && co RCS/*,v
post-patch:
${REINPLACE_CMD} -e \
's!/usr/share/misc/more.help!${PREFIX}/share/misc/44bsd-more.help!'\
${WRKSRC}/pathnames.h
${CP} ${FILESDIR}/queue.h ${WRKSRC}
do-install:
${MKDIR} ${EXAMPLESDIR}
${INSTALL_MAN} ${WRKSRC}/more.1 ${PREFIX}/man/man1/44bsd-more.1
.for f in default.morerc less.morerc most.morerc
${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/more.help ${PREFIX}/share/misc/44bsd-more.help
${INSTALL_PROGRAM} ${WRKSRC}/more ${PREFIX}/bin/44bsd-more
tarup:
cd ${WRKSRC} && tar cyf /tmp/${DISTFILES} RCS
scp /tmp/${DISTFILES} freefall:public_html/dists
.include <bsd.port.post.mk>
|