Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2012 02:43:17 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/170149: games/libfov: Update to version 1.0.4
Message-ID:  <20120726024317.32e10e95c03d8029faea40ee@yahoo.com>
Resent-Message-ID: <201207251810.q6PIACKS060770@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         170149
>Category:       ports
>Synopsis:       games/libfov: Update to version 1.0.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 25 18:10:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p9 i386
>Organization:
>Environment:
>Description:
- Update to version 1.0.4

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/libfov/Makefile games/libfov/Makefile
--- /usr/ports/games/libfov/Makefile	2012-07-23 10:33:55.000000000 +0900
+++ games/libfov/Makefile	2012-07-24 01:34:30.000000000 +0900
@@ -6,13 +6,16 @@
 #
 
 PORTNAME=	libfov
-PORTVERSION=	1.0.3
+PORTVERSION=	1.0.4
 CATEGORIES=	games devel
-MASTER_SITES=	http://libfov.googlecode.com/files/
+MASTER_SITES=	GOOGLE_CODE
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	C library for calculating fields of view on low resolution rasters
 
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 BUILD_DEPENDS=	pkg-config>0:${PORTSDIR}/devel/pkg-config
 
 USE_GNOME=	gnomehack
@@ -24,8 +27,11 @@
 	@${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'
+	@${REINPLACE_CMD} -e \
+		's|^CFLAGS=|#CFLAGS=|' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e \
+		'/^SUBDIRS/s|=.*|= fov|' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e \
+		's|^AM_CFLAGS|#AM_CFLAGS|' ${WRKSRC}/fov/Makefile.in
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/libfov/distinfo games/libfov/distinfo
--- /usr/ports/games/libfov/distinfo	2011-07-03 23:24:14.000000000 +0900
+++ games/libfov/distinfo	2012-07-07 06:14:30.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (libfov-1.0.3.tar.gz) = 4d0289fa008d201dec3e75378e1d575b845b7d035784bc64908d8629b02cac57
-SIZE (libfov-1.0.3.tar.gz) = 350246
+SHA256 (libfov-1.0.4.tar.gz) = 16d2bd98bef2240f48ff8f6df027e12c80697ec617a2fbade3ab65b0ef426cd4
+SIZE (libfov-1.0.4.tar.gz) = 341633
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120726024317.32e10e95c03d8029faea40ee>