1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Update to 5.1

This commit is contained in:
Pete Fritchman 2002-02-04 08:08:11 +00:00
parent 14d5bcb48d
commit 85645168f8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54194
8 changed files with 26 additions and 32 deletions

View File

@ -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>

View File

@ -1 +1 @@
MD5 (reed-4.7.tar.gz) = fbe1a58acf2465156e643b6485b10feb
MD5 (reed-5.1.tar.gz) = e84f97b2f5ff35a47d4f781c2d3221fb

View File

@ -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>

View File

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

View File

@ -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>

View File

@ -1 +1 @@
MD5 (reed-4.7.tar.gz) = fbe1a58acf2465156e643b6485b10feb
MD5 (reed-5.1.tar.gz) = e84f97b2f5ff35a47d4f781c2d3221fb

View File

@ -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>

View File

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