2000-05-29 21:58:25 +02:00
|
|
|
# Ports collection makefile for: more
|
|
|
|
# Date created: 24 May 2000
|
|
|
|
# Whom: Tim van der Hoek <hoek@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= 44bsd-more
|
|
|
|
PORTVERSION= ${RELDATE}
|
2005-07-10 13:15:10 +02:00
|
|
|
CATEGORIES= sysutils
|
2000-06-29 09:03:02 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= hoek
|
2000-05-29 21:58:25 +02:00
|
|
|
|
2009-11-10 09:59:06 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= The pager installed with FreeBSD before less(1) was imported
|
2000-05-29 21:58:25 +02:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
MAN1= 44bsd-more.1
|
|
|
|
|
|
|
|
RELDATE= 20000521
|
|
|
|
|
2007-05-26 22:23:12 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2000-05-29 21:58:25 +02:00
|
|
|
post-extract:
|
2004-03-08 22:40:35 +01:00
|
|
|
-cd ${WRKSRC} && co RCS/*,v
|
2000-05-29 21:58:25 +02:00
|
|
|
|
2001-01-06 04:41:36 +01:00
|
|
|
post-patch:
|
2002-11-04 03:35:01 +01:00
|
|
|
${REINPLACE_CMD} -e \
|
2000-05-29 21:58:25 +02:00
|
|
|
's!/usr/share/misc/more.help!${PREFIX}/share/misc/44bsd-more.help!'\
|
|
|
|
${WRKSRC}/pathnames.h
|
2001-01-06 04:41:36 +01:00
|
|
|
${CP} ${FILESDIR}/queue.h ${WRKSRC}
|
2004-09-20 21:27:18 +02:00
|
|
|
${REINPLACE_CMD} -e 's/static char \*getvar/static const char \*getvar/' \
|
|
|
|
${WRKSRC}/ncommand.c
|
2000-05-29 21:58:25 +02:00
|
|
|
|
|
|
|
do-install:
|
2003-08-18 05:01:05 +02:00
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
2000-05-29 21:58:25 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/more.1 ${PREFIX}/man/man1/44bsd-more.1
|
2003-08-18 05:01:05 +02:00
|
|
|
.for f in default.morerc less.morerc most.morerc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR}
|
|
|
|
.endfor
|
2000-05-29 21:58:25 +02:00
|
|
|
${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
|
|
|
|
|
2007-05-26 22:23:12 +02:00
|
|
|
.include <bsd.port.post.mk>
|