1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

Revive sysutils/reed, and take on role as upstream

Feature safe:	yes
This commit is contained in:
Chris Rees 2012-11-04 16:59:46 +00:00
parent cb2f53a51a
commit 597625be42
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306975
5 changed files with 51 additions and 0 deletions

View File

@ -745,6 +745,7 @@
SUBDIR += rdup
SUBDIR += readlink
SUBDIR += recoverdm
SUBDIR += reed
SUBDIR += rej
SUBDIR += relaxconf
SUBDIR += relpath

38
sysutils/reed/Makefile Normal file
View File

@ -0,0 +1,38 @@
# Created by: Pete Fritchman <petef@databits.net>
# $FreeBSD$
PORTNAME= reed
PORTVERSION= 5.4
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.bayofrum.net/dist/${PORTNAME}
MAINTAINER= crees@FreeBSD.org
COMMENT= A text pager with autoscrolling and more
USE_PERL5= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configures
MAN1= breed.1 reed.1 wrap.1
post-patch:
@${PERL} -pi -e 's!/usr/local!${PREFIX}!g' ${WRKSRC}/configures
@${PERL} -pi -e 's!sys/dir.h!dirent.h!g;s!.*getopt.h.*\n!!' \
${WRKSRC}/reed.c
@${PERL} -pi -e 's!getopt.h !!' ${WRKSRC}/cfg.data
@${PERL} -pi -e 's!-O2!${CFLAGS}!' ${WRKSRC}/Makefile.in
@${PERL} -pi -e 's!^#!/usr/bin/perl!#!${PERL}!' \
${WRKSRC}/fix_bookmarks.pl
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/reed ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/breed ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/wrap ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/fix_bookmarks.pl ${DATADIR}
.for file in ${MAN1}
${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/man/man1
.endfor
.include <bsd.port.mk>

2
sysutils/reed/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (reed-5.4.tar.gz) = 226a057aa5db705e83b685207d635d0d3b983999f1e526e0768aa56b0e7c02a8
SIZE (reed-5.4.tar.gz) = 32414

5
sysutils/reed/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
reed is a text pager for reading large files, such as full books
(usually etexts from Project Gutenberg). It has the features one
would expect for a pager (multiple buffers, searching, file
information, subshells, etc) and more: persistent bookmarks, auto
scrolling, and support for many different types of files.

5
sysutils/reed/pkg-plist Normal file
View File

@ -0,0 +1,5 @@
bin/breed
bin/reed
bin/wrap
share/reed/fix_bookmarks.pl
@dirrm share/reed