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 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