From 8281c63cda23adb1f3cbc0e38c326eab0a0ab71a Mon Sep 17 00:00:00 2001 From: Aaron Dalton Date: Fri, 13 Jan 2006 16:21:15 +0000 Subject: [PATCH] Adding port games/libfov, a C library which implements a course-grained lighting algorithm suitable for tile-based games such as roguelikes. Submitted by: aaron Approved by: tobez --- games/Makefile | 1 + games/libfov/Makefile | 22 ++++++++++++++++++++++ games/libfov/distinfo | 3 +++ games/libfov/files/Makefile.bsd | 10 ++++++++++ games/libfov/pkg-descr | 8 ++++++++ games/libfov/pkg-plist | 5 +++++ 6 files changed, 49 insertions(+) create mode 100644 games/libfov/Makefile create mode 100644 games/libfov/distinfo create mode 100644 games/libfov/files/Makefile.bsd create mode 100644 games/libfov/pkg-descr create mode 100644 games/libfov/pkg-plist diff --git a/games/Makefile b/games/Makefile index 4cad4428c366..3eda101503ee 100644 --- a/games/Makefile +++ b/games/Makefile @@ -327,6 +327,7 @@ SUBDIR += lexter SUBDIR += lgeneral SUBDIR += lgeneral-data + SUBDIR += libfov SUBDIR += libggz SUBDIR += libmaitretarot SUBDIR += libmt_client diff --git a/games/libfov/Makefile b/games/libfov/Makefile new file mode 100644 index 000000000000..f15f1e9c350e --- /dev/null +++ b/games/libfov/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: libfov +# Date created: 12 Jan 2006 +# Whom: aaron@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= libfov +PORTVERSION= 0.1.2 +CATEGORIES= games devel +MASTER_SITES= http://members.optushome.com.au/puyo/dev/libfov/ + +MAINTAINER= aaron@FreeBSD.org +COMMENT= This C library implements a course-grained lighting algorithm + +WRKSRC= ${WRKDIR}/${DISTNAME}/src +INSTALLS_SHLIB= yes + +post-extract: + @${CP} ${PATCHDIR}/Makefile.bsd ${WRKSRC}/Makefile + +.include diff --git a/games/libfov/distinfo b/games/libfov/distinfo new file mode 100644 index 000000000000..102b2330ae02 --- /dev/null +++ b/games/libfov/distinfo @@ -0,0 +1,3 @@ +MD5 (libfov-0.1.2.tar.gz) = ef0e8ddee26433d219216d194c27926e +SHA256 (libfov-0.1.2.tar.gz) = fa0ae16066cb736acf96f65c0a354f89125f74018912e59d50dc7e90c411c038 +SIZE (libfov-0.1.2.tar.gz) = 178220 diff --git a/games/libfov/files/Makefile.bsd b/games/libfov/files/Makefile.bsd new file mode 100644 index 000000000000..a97515ecf004 --- /dev/null +++ b/games/libfov/files/Makefile.bsd @@ -0,0 +1,10 @@ +LIB= fov +SHLIB_MAJOR= 0 +SHLIB_MINOR= 1 +SRCS= fov.c +INCS= fov.h +LIBDIR= ${PREFIX}/lib +INCLUDEDIR= ${PREFIX}/include + +.include + diff --git a/games/libfov/pkg-descr b/games/libfov/pkg-descr new file mode 100644 index 000000000000..f424e8a24735 --- /dev/null +++ b/games/libfov/pkg-descr @@ -0,0 +1,8 @@ +This is a C library which implements a course-grained lighting algorithm +suitable for tile-based games such as roguelikes. + +WWW: http://members.optushome.com.au/puyo/libfov.html +Author: Greg + +- Aaron Dalton +aaron@FreeBSD.org diff --git a/games/libfov/pkg-plist b/games/libfov/pkg-plist new file mode 100644 index 000000000000..88ce918dfbcf --- /dev/null +++ b/games/libfov/pkg-plist @@ -0,0 +1,5 @@ +include/fov.h +lib/libfov.a +lib/libfov.so +lib/libfov.so.0 +lib/libfov_p.a