From 9a128903fa09f7cf584ff2d7559814d7c8d3f158 Mon Sep 17 00:00:00 2001
From: Diane Bruce <db@FreeBSD.org>
Date: Mon, 24 Dec 2007 02:48:33 +0000
Subject: - update version - remove dead download site - remove obsolete patch
 for 4.x

---
 comms/tlf/Makefile                 | 11 ++++++-----
 comms/tlf/distinfo                 |  6 +++---
 comms/tlf/files/patch-fix_build_4x | 19 -------------------
 3 files changed, 9 insertions(+), 27 deletions(-)
 delete mode 100644 comms/tlf/files/patch-fix_build_4x

(limited to 'comms/tlf')

diff --git a/comms/tlf/Makefile b/comms/tlf/Makefile
index d0c5145520a4..7967a48e37f2 100644
--- a/comms/tlf/Makefile
+++ b/comms/tlf/Makefile
@@ -6,16 +6,17 @@
 #
 
 PORTNAME=	tlf
-PORTVERSION=	0.9.30
-PORTREVISION=	2
+PORTVERSION=	0.9.31
 CATEGORIES=	comms hamradio
-MASTER_SITES=	http://www.wwns.com/tlf/ \
-		http://sharon.esrac.ele.tue.nl/pub/linux/ham/tlf/
-DIST_SUBDIR=	${PORTNAME}
+MASTER_SITES=	http://sharon.esrac.ele.tue.nl/pub/linux/ham/tlf/ \
+		${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR=	db
+DISTNAME=	tlf-0.9.31-2
 
 MAINTAINER=	db@FreeBSD.org
 COMMENT=	Amateur Radio curses based logging program
 
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 USE_AUTOTOOLS=	autoconf:261 libtool:15 aclocal:19 automake:19
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--includedir="${LOCALBASE}/include" \
diff --git a/comms/tlf/distinfo b/comms/tlf/distinfo
index a8449acee129..7423850c6b37 100644
--- a/comms/tlf/distinfo
+++ b/comms/tlf/distinfo
@@ -1,3 +1,3 @@
-MD5 (tlf/tlf-0.9.30.tar.gz) = fc8faeb23d7a54c96eb3a962cc4d9e4e
-SHA256 (tlf/tlf-0.9.30.tar.gz) = c81f9fd21268bae1bca7b3eecd09216885e1b1b8428d4b1d50af386c036de4ee
-SIZE (tlf/tlf-0.9.30.tar.gz) = 390608
+MD5 (tlf-0.9.31-2.tar.gz) = 5f80c45bc448afcf5c336478b08ade3c
+SHA256 (tlf-0.9.31-2.tar.gz) = 6d6c323e3124df5ea1b62b07555fcaf5388fef14b938014aa150d582d4e6d6b0
+SIZE (tlf-0.9.31-2.tar.gz) = 606427
diff --git a/comms/tlf/files/patch-fix_build_4x b/comms/tlf/files/patch-fix_build_4x
deleted file mode 100644
index ead6eba45ba6..000000000000
--- a/comms/tlf/files/patch-fix_build_4x
+++ /dev/null
@@ -1,19 +0,0 @@
---- src/readctydata.c.orig	Tue May  9 14:08:25 2006
-+++ src/readctydata.c	Tue May  9 14:09:12 2006
-@@ -45,6 +45,7 @@
- 		char * ituloc;
- 
- 	FILE  *fp_db;
-+	char *loc;
- 
- 	strcpy(ctydb_location, "cty.dat");
- 	if ( (fp_db  = fopen (ctydb_location, "r")) ==  NULL)
-@@ -91,7 +92,7 @@
- 			strncpy(buffer, buf, 79);
- 			buffer[79] = 0;
- 
--	  		char *loc = NULL;						//PG4I, 26Jul2005
-+	  		loc = NULL;						//PG4I, 26Jul2005
- 	  		if ((loc = strchr(buffer, '\r')))
- 	   		*loc = '\0';
- 
-- 
cgit v1.2.3