1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/games/libfov/Makefile
Dmitry Marakasov 71ca4b7b6b - Switch to USES=libtool, drop .la files
- Strip libraries
2014-05-27 16:28:44 +00:00

34 lines
779 B
Makefile

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