summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-08-25 21:16:26 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-08-25 21:16:26 +0000
commit23278011ddf32da151d10041c9e57c1801e1242d (patch)
treed422356bf0fac2bae57712008c560ed94e60b129 /games
parent- Update to 20080817 (diff)
- Update to 1.0.3
PR: 126801 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=219175
Diffstat (limited to 'games')
-rw-r--r--games/libfov/Makefile15
-rw-r--r--games/libfov/distinfo6
-rw-r--r--games/libfov/files/Makefile.bsd10
-rw-r--r--games/libfov/pkg-descr13
-rw-r--r--games/libfov/pkg-plist9
5 files changed, 27 insertions, 26 deletions
diff --git a/games/libfov/Makefile b/games/libfov/Makefile
index f36ca56ff892..a77736090670 100644
--- a/games/libfov/Makefile
+++ b/games/libfov/Makefile
@@ -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 --git a/games/libfov/distinfo b/games/libfov/distinfo
index 6071e31983fe..a4c129d73e7b 100644
--- a/games/libfov/distinfo
+++ b/games/libfov/distinfo
@@ -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 --git a/games/libfov/files/Makefile.bsd b/games/libfov/files/Makefile.bsd
deleted file mode 100644
index 13a905734211..000000000000
--- a/games/libfov/files/Makefile.bsd
+++ /dev/null
@@ -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 --git a/games/libfov/pkg-descr b/games/libfov/pkg-descr
index f424e8a24735..f61d924db0fb 100644
--- a/games/libfov/pkg-descr
+++ b/games/libfov/pkg-descr
@@ -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 --git a/games/libfov/pkg-plist b/games/libfov/pkg-plist
index 5634616e74ce..7bba1ca8a51a 100644
--- a/games/libfov/pkg-plist
+++ b/games/libfov/pkg-plist
@@ -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