aboutsummaryrefslogtreecommitdiffstats
path: root/misc/reed
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-02-04 16:08:11 +0800
committerpetef <petef@FreeBSD.org>2002-02-04 16:08:11 +0800
commit7424ebee527982dfec56e3079e3f9e051afd79f3 (patch)
tree9b0208a7c77e161cba13b12bdff255697159e918 /misc/reed
parenta9df7ea064e48896647ab3f0c70efe103e263f08 (diff)
downloadfreebsd-ports-graphics-7424ebee527982dfec56e3079e3f9e051afd79f3.tar.gz
freebsd-ports-graphics-7424ebee527982dfec56e3079e3f9e051afd79f3.tar.zst
freebsd-ports-graphics-7424ebee527982dfec56e3079e3f9e051afd79f3.zip
Update to 5.1
Diffstat (limited to 'misc/reed')
-rw-r--r--misc/reed/Makefile15
-rw-r--r--misc/reed/distinfo2
-rw-r--r--misc/reed/files/patch-src::reed.h10
-rw-r--r--misc/reed/pkg-plist2
4 files changed, 13 insertions, 16 deletions
diff --git a/misc/reed/Makefile b/misc/reed/Makefile
index ce9c7099309..83bbe82125c 100644
--- a/misc/reed/Makefile
+++ b/misc/reed/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= reed
-PORTVERSION= 4.7
+PORTVERSION= 5.1
CATEGORIES= misc
MASTER_SITES= http://www.sacredchao.net/software/reed/
@@ -14,6 +14,7 @@ MAINTAINER= petef@FreeBSD.org
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+USE_PERL5= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configures
CONFIGURE_ENV= INCDIR="${LOCALBASE}/include"
@@ -24,15 +25,19 @@ 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}/src/reed.h
+ @${PERL} -pi -e 's!sys/dir.h!dirent.h!g' ${WRKSRC}/reed.c
@${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}/scripts/breed ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/scripts/wrap ${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}/man/${file} ${PREFIX}/man/man1
+ ${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/man/man1
.endfor
.include <bsd.port.mk>
diff --git a/misc/reed/distinfo b/misc/reed/distinfo
index 01e01865067..c07edb33450 100644
--- a/misc/reed/distinfo
+++ b/misc/reed/distinfo
@@ -1 +1 @@
-MD5 (reed-4.7.tar.gz) = fbe1a58acf2465156e643b6485b10feb
+MD5 (reed-5.1.tar.gz) = e84f97b2f5ff35a47d4f781c2d3221fb
diff --git a/misc/reed/files/patch-src::reed.h b/misc/reed/files/patch-src::reed.h
deleted file mode 100644
index ceb7c2ff488..00000000000
--- a/misc/reed/files/patch-src::reed.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/reed.h.orig Thu Nov 30 19:09:49 2000
-+++ src/reed.h Tue Aug 7 23:14:10 2001
-@@ -19,6 +19,7 @@
- #include <string.h>
- #include <sys/types.h>
- #include <sys/stat.h>
-+#include <sys/syslimits.h>
- #include <sys/dir.h>
- #include <regex.h>
- #include <pwd.h>
diff --git a/misc/reed/pkg-plist b/misc/reed/pkg-plist
index 0fbfaa2eb7d..fadfb8e54c0 100644
--- a/misc/reed/pkg-plist
+++ b/misc/reed/pkg-plist
@@ -1,3 +1,5 @@
bin/breed
bin/reed
bin/wrap
+share/reed/fix_bookmarks.pl
+@dirrm share/reed