1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/misc/44bsd-more/Makefile
Tim Vanderhoek ea4dd4d630 Bring-in more. From pkg/DESCR:
This is /usr/bin/more from FreeBSD before the import of the less pager.
  It is an older version of less that includes some enhancements and fixes
  not in less.  These enhancments include support for global(1) tags,
  nicer horizontal scrolling, support for portable keyboard configurations
  using termcap(5), and a much shorter manpage.

  Due to the debatability of the latter feature (is it an enhancement or
  a bug?), /usr/bin/more has been replaced.  This port is available for
  those who desire any of the above features.
2000-05-29 19:58:25 +00:00

45 lines
1.1 KiB
Makefile

# 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= http://people.FreeBSD.org/~hoek/dists/
MAINTAINER= hoek@FreeBSD.org
USE_BZIP2= yes
NO_WRKSUBDIR= yes
MAN1= 44bsd-more.1
RELDATE= 20000521
EXAMPDIR= ${PREFIX}/share/examples/44bsd-more
post-extract:
-cd ${WRKSRC} && co -d${RELDATE} RCS/*,v
do-patch:
${PERL} -pi.orig -e \
's!/usr/share/misc/more.help!${PREFIX}/share/misc/44bsd-more.help!'\
${WRKSRC}/pathnames.h
do-install:
${MKDIR} ${EXAMPDIR}
${INSTALL_MAN} ${WRKSRC}/more.1 ${PREFIX}/man/man1/44bsd-more.1
${INSTALL_DATA} ${WRKSRC}/default.morerc ${EXAMPDIR}
${INSTALL_DATA} ${WRKSRC}/less.morerc ${EXAMPDIR}
${INSTALL_DATA} ${WRKSRC}/most.morerc ${EXAMPDIR}
${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.mk>