From 10958ce6fc65d8ecc78c3c343f9c31566093b93c Mon Sep 17 00:00:00 2001 From: thierry Date: Sun, 12 Sep 2004 19:08:56 +0000 Subject: Make fetchable again by upgrading to 1.40-18. Approved by: portmgr (linimon) --- editors/beav/Makefile | 13 +++++++++---- editors/beav/distinfo | 6 ++++-- editors/beav/files/patch-def.h | 12 ------------ 3 files changed, 13 insertions(+), 18 deletions(-) delete mode 100644 editors/beav/files/patch-def.h diff --git a/editors/beav/Makefile b/editors/beav/Makefile index a76cefc4c99c..58198f4a0b55 100644 --- a/editors/beav/Makefile +++ b/editors/beav/Makefile @@ -6,15 +6,19 @@ # PORTNAME= beav -PORTVERSION= 1.40.17 +PORTVERSION= 1.40.18 CATEGORIES= editors MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL} -DISTNAME= ${PORTNAME}_${PORTVERSION:R}-${PORTVERSION:E} +DISTNAME= ${PORTNAME}_${PORTVERSION:R}.orig + +PATCH_SITES= ${MASTER_SITES} +PATCHFILES= ${PORTNAME}_${PORTVERSION:R}-${PORTVERSION:E}.diff.gz +PATCH_DIST_STRIP= -p1 MAINTAINER= ports@FreeBSD.org COMMENT= Binary Editor And Viewer, a full featured binary file editor -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R} +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R:S/.//} USE_REINPLACE= yes ALL_TARGET= beav @@ -25,7 +29,8 @@ post-patch: @${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS+=-DUNIX -DBSD -DNOPROTO#|g ; \ s|^CC=|CC?=|g ; \ s|^(|\$$(|g' ${WRKSRC}/Makefile - @${REINPLACE_CMD} -e 's|/usr/doc/beav|${DOCSDIR}|g' ${WRKSRC}/beav.1 + @${REINPLACE_CMD} -e 's|/usr/share/doc/beav|${DOCSDIR}|g ; \ + s|beav140.txt.gz|beav.txt|' ${WRKSRC}/beav.1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/beav ${PREFIX}/bin/beav diff --git a/editors/beav/distinfo b/editors/beav/distinfo index e5ccd98fdaaa..c331e503c435 100644 --- a/editors/beav/distinfo +++ b/editors/beav/distinfo @@ -1,2 +1,4 @@ -MD5 (beav_1.40-17.tar.gz) = 1989c6560b31453999259627d2fd5284 -SIZE(beav_1.40-17.tar.gz) = 132902 +MD5 (beav_1.40.orig.tar.gz) = 9c30dce1697f468682eb2aae464de175 +SIZE (beav_1.40.orig.tar.gz) = 128103 +MD5 (beav_1.40-18.diff.gz) = 63a2f7a63334abc020cd37e86d349ec1 +SIZE (beav_1.40-18.diff.gz) = 14218 diff --git a/editors/beav/files/patch-def.h b/editors/beav/files/patch-def.h deleted file mode 100644 index 5a6a991639d1..000000000000 --- a/editors/beav/files/patch-def.h +++ /dev/null @@ -1,12 +0,0 @@ ---- def.h.orig Tue Jul 13 11:05:00 2004 -+++ def.h Sun Aug 15 03:51:52 2004 -@@ -566,9 +566,6 @@ - /* - * Standard I/O. - */ --extern char *malloc (); --extern char *strcpy (); --extern char *strcat (); - - #ifndef NOPROTO - #include "prototyp.h" -- cgit