From tkato432@yahoo.com  Sun Aug 24 18:01:40 2008
Return-Path: <tkato432@yahoo.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A136F106567D
	for <FreeBSD-gnats-submit@FreeBSD.org>; Sun, 24 Aug 2008 18:01:39 +0000 (UTC)
	(envelope-from tkato432@yahoo.com)
Received: from msa106lp.auone-net.jp (msa106lp.auone-net.jp [222.3.140.169])
	by mx1.freebsd.org (Postfix) with ESMTP id 3DC398FC1F
	for <FreeBSD-gnats-submit@FreeBSD.org>; Sun, 24 Aug 2008 18:01:39 +0000 (UTC)
	(envelope-from tkato432@yahoo.com)
Received: from localhost.localdomain (ZT029201.ppp.dion.ne.jp [59.128.29.201])
	by msa106lp.auone-net.jp (au one net msa) with ESMTP id BEC5823C031
	for <FreeBSD-gnats-submit@FreeBSD.org>; Mon, 25 Aug 2008 03:01:36 +0900 (JST)
Message-Id: <20080825030027.2ae4fe19.tkato432@yahoo.com>
Date: Mon, 25 Aug 2008 03:00:27 +0900
From: KATO Tsuguru <tkato432@yahoo.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: games/libfov to 1.0.3

>Number:         126801
>Category:       ports
>Synopsis:       Update port: games/libfov to 1.0.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 24 18:10:04 UTC 2008
>Closed-Date:    Mon Aug 25 21:16:24 UTC 2008
>Last-Modified:  Mon Aug 25 21:20:10 UTC 2008
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.0-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 1.0.3

Remove file:
files/Makefile.bsd

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/libfov/Makefile games/libfov/Makefile
--- /usr/ports/games/libfov/Makefile	2008-04-29 18:27:55.000000000 +0900
+++ games/libfov/Makefile	2008-08-24 03:19:29.000000000 +0900
@@ -6,17 +6,24 @@
 #
 
 PORTNAME=	libfov
-PORTVERSION=	1.0.2
+PORTVERSION=	1.0.3
 CATEGORIES=	games devel
-MASTER_SITES=	SFE/libfov
+MASTER_SITES=	http://libfov.googlecode.com/files/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	C library for calculating fields of view on low resolution rasters
 
-WRKSRC=	${WRKDIR}/${DISTNAME}/fov
+USE_GNOME=	gnomehack pkgconfig
+USE_AUTOTOOLS=	libtool:15
+CONFIGURE_ENV=	ac_cv_prog_doxygen=no ac_cv_path_SDL_CONFIG=no
 USE_LDCONFIG=	yes
 
 post-extract:
-	@${CP} ${PATCHDIR}/Makefile.bsd ${WRKSRC}/Makefile
+	@${CHMOD} ${BINMODE} ${WRKSRC}/install-sh
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure
+	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+		's|^AM_CFLAGS|#AM_CFLAGS|g'
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/libfov/distinfo games/libfov/distinfo
--- /usr/ports/games/libfov/distinfo	2006-08-01 13:26:26.000000000 +0900
+++ games/libfov/distinfo	2008-08-24 02:59:26.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (libfov-1.0.2.tar.gz) = e0d2a9bd7dc1acf08533624f616ee028
-SHA256 (libfov-1.0.2.tar.gz) = 61ba9824328f544736e88fa076778935cdcf61b910cf5a52edeab080c3ae107a
-SIZE (libfov-1.0.2.tar.gz) = 343401
+MD5 (libfov-1.0.3.tar.gz) = 0519d52da67f3cf5f21fe6b6bf8962e7
+SHA256 (libfov-1.0.3.tar.gz) = 4d0289fa008d201dec3e75378e1d575b845b7d035784bc64908d8629b02cac57
+SIZE (libfov-1.0.3.tar.gz) = 350246
diff -urN /usr/ports/games/libfov/files/Makefile.bsd games/libfov/files/Makefile.bsd
--- /usr/ports/games/libfov/files/Makefile.bsd	2006-08-01 13:26:27.000000000 +0900
+++ games/libfov/files/Makefile.bsd	1970-01-01 09:00:00.000000000 +0900
@@ -1,10 +0,0 @@
-LIB=		fov
-SHLIB_MAJOR=	1
-SHLIB_MINOR=	0
-SRCS=	fov.c
-INCS=	fov.h
-LIBDIR=	${PREFIX}/lib
-INCLUDEDIR=	${PREFIX}/include
-
-.include <bsd.lib.mk>
-
diff -urN /usr/ports/games/libfov/pkg-descr games/libfov/pkg-descr
--- /usr/ports/games/libfov/pkg-descr	2006-01-14 01:21:14.000000000 +0900
+++ games/libfov/pkg-descr	2008-08-24 02:56:58.000000000 +0900
@@ -1,8 +1,7 @@
-This is a C library which implements a course-grained lighting algorithm 
-suitable for tile-based games such as roguelikes.
+libfov is a C library for calculating fields of view and lighting on low
+resolution rasters, suitable for roguelike games. In that screenshot below,
+imagine that green dot is your character in a computer game, and as you
+walk around (move between tiles on the grid), you want to know which tiles
+you can see and which tiles you cannot. libfov calculates exactly that.
 
-WWW: http://members.optushome.com.au/puyo/libfov.html
-Author: Greg <greg@puyo.cjb.net>
-
-- Aaron Dalton
-aaron@FreeBSD.org
+WWW: http://code.google.com/p/libfov/
diff -urN /usr/ports/games/libfov/pkg-plist games/libfov/pkg-plist
--- /usr/ports/games/libfov/pkg-plist	2006-08-01 13:26:28.000000000 +0900
+++ games/libfov/pkg-plist	2008-08-24 03:07:37.000000000 +0900
@@ -1,5 +1,10 @@
-include/fov.h
+include/fov/fov.h
+lib/fov/include/config.h
 lib/libfov.a
+lib/libfov.la
 lib/libfov.so
 lib/libfov.so.1
-lib/libfov_p.a
+libdata/pkgconfig/libfov.pc
+@dirrm lib/fov/include
+@dirrm lib/fov
+@dirrm include/fov
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Mon Aug 25 07:55:58 UTC 2008 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=126801 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Mon Aug 25 21:16:24 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=126801 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/126801: commit references a PR
Date: Mon, 25 Aug 2008 21:16:52 +0000 (UTC)

 miwi        2008-08-25 21:16:26 UTC
 
   FreeBSD ports repository
 
   Modified files:
     games/libfov         Makefile distinfo pkg-descr pkg-plist 
   Removed files:
     games/libfov/files   Makefile.bsd 
   Log:
   - Update to 1.0.3
   
   PR:             126801
   Submitted by:   Ports Fury
   
   Revision  Changes    Path
   1.5       +11 -4     ports/games/libfov/Makefile
   1.3       +3 -3      ports/games/libfov/distinfo
   1.3       +0 -10     ports/games/libfov/files/Makefile.bsd (dead)
   1.2       +6 -7      ports/games/libfov/pkg-descr
   1.3       +7 -2      ports/games/libfov/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
