summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2004-09-12 19:08:56 +0000
committerThierry Thomas <thierry@FreeBSD.org>2004-09-12 19:08:56 +0000
commit070e63aa4790bf1600552dd2a91fbab5e522d9df (patch)
tree3c6ac6fac0ab9f342cf968a02dd6ed678333455b /editors
parentThe new rcNG dictd.sh doesn't start dictd by default (without the (diff)
Make fetchable again by upgrading to 1.40-18.
Approved by: portmgr (linimon)
Notes
Notes: svn path=/head/; revision=118151
Diffstat (limited to 'editors')
-rw-r--r--editors/beav/Makefile13
-rw-r--r--editors/beav/distinfo6
-rw-r--r--editors/beav/files/patch-def.h12
3 files changed, 13 insertions, 18 deletions
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"