2006-01-13 16:21:15 +00:00
|
|
|
# New ports collection makefile for: libfov
|
|
|
|
# Date created: 12 Jan 2006
|
|
|
|
# Whom: aaron@FreeBSD.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libfov
|
2008-08-25 21:16:26 +00:00
|
|
|
PORTVERSION= 1.0.3
|
2006-01-13 16:21:15 +00:00
|
|
|
CATEGORIES= games devel
|
2008-08-25 21:16:26 +00:00
|
|
|
MASTER_SITES= http://libfov.googlecode.com/files/
|
2006-01-13 16:21:15 +00:00
|
|
|
|
2008-04-29 05:27:09 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= C library for calculating fields of view on low resolution rasters
|
2006-01-13 16:21:15 +00:00
|
|
|
|
2008-08-25 21:16:26 +00:00
|
|
|
USE_GNOME= gnomehack pkgconfig
|
|
|
|
USE_AUTOTOOLS= libtool:15
|
|
|
|
CONFIGURE_ENV= ac_cv_prog_doxygen=no ac_cv_path_SDL_CONFIG=no
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
USE_LDCONFIG= yes
|
2006-01-13 16:21:15 +00:00
|
|
|
|
|
|
|
post-extract:
|
2008-08-25 21:16:26 +00:00
|
|
|
@${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'
|
2006-01-13 16:21:15 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|