diff options
-rw-r--r-- | misc/reed/Makefile | 15 | ||||
-rw-r--r-- | misc/reed/distinfo | 2 | ||||
-rw-r--r-- | misc/reed/files/patch-src::reed.h | 10 | ||||
-rw-r--r-- | misc/reed/pkg-plist | 2 | ||||
-rw-r--r-- | sysutils/reed/Makefile | 15 | ||||
-rw-r--r-- | sysutils/reed/distinfo | 2 | ||||
-rw-r--r-- | sysutils/reed/files/patch-src::reed.h | 10 | ||||
-rw-r--r-- | sysutils/reed/pkg-plist | 2 |
8 files changed, 26 insertions, 32 deletions
diff --git a/misc/reed/Makefile b/misc/reed/Makefile index ce9c709..83bbe82 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 01e0186..c07edb3 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 ceb7c2f..0000000 --- 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 0fbfaa2..fadfb8e 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 diff --git a/sysutils/reed/Makefile b/sysutils/reed/Makefile index ce9c709..83bbe82 100644 --- a/sysutils/reed/Makefile +++ b/sysutils/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/sysutils/reed/distinfo b/sysutils/reed/distinfo index 01e0186..c07edb3 100644 --- a/sysutils/reed/distinfo +++ b/sysutils/reed/distinfo @@ -1 +1 @@ -MD5 (reed-4.7.tar.gz) = fbe1a58acf2465156e643b6485b10feb +MD5 (reed-5.1.tar.gz) = e84f97b2f5ff35a47d4f781c2d3221fb diff --git a/sysutils/reed/files/patch-src::reed.h b/sysutils/reed/files/patch-src::reed.h deleted file mode 100644 index ceb7c2f..0000000 --- a/sysutils/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/sysutils/reed/pkg-plist b/sysutils/reed/pkg-plist index 0fbfaa2..fadfb8e 100644 --- a/sysutils/reed/pkg-plist +++ b/sysutils/reed/pkg-plist @@ -1,3 +1,5 @@ bin/breed bin/reed bin/wrap +share/reed/fix_bookmarks.pl +@dirrm share/reed |