aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2012-10-18 01:48:48 +0000
committerJason E. Hale <jhale@FreeBSD.org>2012-10-18 01:48:48 +0000
commit7b057418988c6b364386562b1605a7770cce92db (patch)
treeacb66f81dba053b4275f35f5ff74b8a26ec858d5 /games
parent234783d5173e1c50bfbf446914b2156a2a90f340 (diff)
Notes
Diffstat (limited to 'games')
-rw-r--r--games/libfov/Makefile22
-rw-r--r--games/libfov/distinfo4
2 files changed, 14 insertions, 12 deletions
diff --git a/games/libfov/Makefile b/games/libfov/Makefile
index 264181e63205..268c8a284633 100644
--- a/games/libfov/Makefile
+++ b/games/libfov/Makefile
@@ -1,18 +1,17 @@
-# New ports collection makefile for: libfov
-# Date created: 12 Jan 2006
-# Whom: aaron@FreeBSD.org
-#
+# Created by: aaron@FreeBSD.org
# $FreeBSD$
-#
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
+
USE_GNOME= gnomehack
USE_AUTOTOOLS= libtool
USE_PKGCONFIG= yes
@@ -23,8 +22,11 @@ post-extract:
@${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 --git a/games/libfov/distinfo b/games/libfov/distinfo
index fc967ffb1d13..cacdd62a7d6b 100644
--- a/games/libfov/distinfo
+++ b/games/libfov/distinfo
@@ -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