aboutsummaryrefslogtreecommitdiff
path: root/sysutils/reed
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2003-07-14 02:37:04 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2003-07-14 02:37:04 +0000
commit1337d85a81abe3b773ee3a419f607d806dfd6e02 (patch)
tree2c706553d1cdec5b69540997d61392835f89eb31 /sysutils/reed
parent6dd69bbdb162ba8206dcdfa59fab1841398aa524 (diff)
downloadports-1337d85a81abe3b773ee3a419f607d806dfd6e02.tar.gz
ports-1337d85a81abe3b773ee3a419f607d806dfd6e02.zip
Notes
Diffstat (limited to 'sysutils/reed')
-rw-r--r--sysutils/reed/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/sysutils/reed/Makefile b/sysutils/reed/Makefile
index f0adad1f7264..1f5335d58dd3 100644
--- a/sysutils/reed/Makefile
+++ b/sysutils/reed/Makefile
@@ -7,26 +7,24 @@
PORTNAME= reed
PORTVERSION= 5.4
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://www.sacredchao.net/software/reed/
MAINTAINER= petef@FreeBSD.org
COMMENT= A text pager with autoscrolling and more
-LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
-
USE_PERL5= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configures
-CONFIGURE_ENV= INCDIR="${LOCALBASE}/include"
-
-CFLAGS+= -I${LOCALBASE}/include
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' ${WRKSRC}/reed.c
+ @${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