2001-08-08 08:52:42 +02:00
|
|
|
# New ports collection makefile for: reed
|
|
|
|
# Date created: 7 August 2001
|
|
|
|
# Whom: Pete Fritchman <petef@databits.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= reed
|
2003-01-05 19:43:27 +01:00
|
|
|
PORTVERSION= 5.4
|
2003-07-14 04:37:04 +02:00
|
|
|
PORTREVISION= 1
|
2001-08-08 08:52:42 +02:00
|
|
|
CATEGORIES= misc
|
2004-12-15 18:16:32 +01:00
|
|
|
MASTER_SITES= http://www.sacredchao.net/~piman/archive/
|
2001-08-08 08:52:42 +02:00
|
|
|
|
2001-08-23 01:07:23 +02:00
|
|
|
MAINTAINER= petef@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A text pager with autoscrolling and more
|
2001-08-08 08:52:42 +02:00
|
|
|
|
2002-02-04 09:08:11 +01:00
|
|
|
USE_PERL5= yes
|
2001-12-24 21:16:08 +01:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_SCRIPT= configures
|
2001-08-08 08:52:42 +02:00
|
|
|
|
|
|
|
MAN1= breed.1 reed.1 wrap.1
|
|
|
|
|
2001-12-24 21:16:08 +01:00
|
|
|
post-patch:
|
2003-07-14 04:37:04 +02:00
|
|
|
@${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
|
2001-12-24 21:16:08 +01:00
|
|
|
@${PERL} -pi -e 's!-O2!${CFLAGS}!' ${WRKSRC}/Makefile.in
|
2002-02-04 09:08:11 +01:00
|
|
|
@${PERL} -pi -e 's!^#!/usr/bin/perl!#!${PERL}!' \
|
|
|
|
${WRKSRC}/fix_bookmarks.pl
|
2001-12-24 21:16:08 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/reed ${PREFIX}/bin
|
2002-02-04 09:08:11 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/breed ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/wrap ${PREFIX}/bin
|
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/fix_bookmarks.pl ${DATADIR}
|
2001-12-24 21:16:08 +01:00
|
|
|
.for file in ${MAN1}
|
2002-02-04 09:08:11 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/man/man1
|
2001-12-24 21:16:08 +01:00
|
|
|
.endfor
|
|
|
|
|
2001-08-08 08:52:42 +02:00
|
|
|
.include <bsd.port.mk>
|