summaryrefslogtreecommitdiff
path: root/games/libfov/Makefile
blob: be3d1edc586541430c12b023587e65698afdc076 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Created by: aaron@FreeBSD.org
# $FreeBSD$

PORTNAME=	libfov
PORTVERSION=	1.0.4
PORTREVISION=	1
CATEGORIES=	games devel
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

BROKEN=		Unfetchable (google code has gone away)
DEPRECATED=	Unfetchable for more than six months (google code has gone away)
EXPIRATION_DATE=	2017-04-30

USES=		pathfix pkgconfig libtool
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	ac_cv_prog_doxygen=no ac_cv_path_SDL_CONFIG=no
USE_LDCONFIG=	yes
INSTALL_TARGET=	install-strip

post-extract:
	@${CHMOD} ${BINMODE} ${WRKSRC}/install-sh

post-patch:
	@${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>