2012-10-18 03:48:48 +02:00
|
|
|
# Created by: aaron@FreeBSD.org
|
2006-01-13 17:21:15 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libfov
|
2012-10-18 03:48:48 +02:00
|
|
|
PORTVERSION= 1.0.4
|
2014-05-27 18:28:44 +02:00
|
|
|
PORTREVISION= 1
|
2006-01-13 17:21:15 +01:00
|
|
|
CATEGORIES= games devel
|
2012-10-18 03:48:48 +02:00
|
|
|
MASTER_SITES= GOOGLE_CODE
|
2006-01-13 17:21:15 +01:00
|
|
|
|
2008-04-29 07:27:09 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= C library for calculating fields of view on low resolution rasters
|
2006-01-13 17:21:15 +01:00
|
|
|
|
2012-10-18 03:48:48 +02:00
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2014-05-27 18:28:44 +02:00
|
|
|
USES= pathfix pkgconfig libtool
|
|
|
|
GNU_CONFIGURE= yes
|
2008-08-25 23:16:26 +02:00
|
|
|
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 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2014-05-27 18:28:44 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2006-01-13 17:21:15 +01:00
|
|
|
|
|
|
|
post-extract:
|
2008-08-25 23:16:26 +02:00
|
|
|
@${CHMOD} ${BINMODE} ${WRKSRC}/install-sh
|
|
|
|
|
|
|
|
post-patch:
|
2012-10-18 03:48:48 +02:00
|
|
|
@${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
|
2006-01-13 17:21:15 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|