mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
a1d8b80f81
PR: ports/49005 Submitted by: Roland Jesse <roland.jesse@gmx.net>
37 lines
966 B
Makefile
37 lines
966 B
Makefile
# New ports collection makefile for: Coin
|
|
# Date created: 10 May 2002
|
|
# Whom: roland.jesse@gmx.net
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Coin
|
|
PORTVERSION= 2.0.0
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ftp://ftp.coin3d.org/pub/coin/src/
|
|
|
|
MAINTAINER= roland.jesse@gmx.net
|
|
COMMENT= C++ 3D graphics library based on the Open Inventor 2.1 API
|
|
|
|
LIB_DEPENDS= simage.22:${PORTSDIR}/graphics/simage \
|
|
openal.0:${PORTSDIR}/audio/openal
|
|
|
|
USE_REINPLACE= yes
|
|
USE_MESA= yes
|
|
USE_XLIB= yes
|
|
USE_LIBTOOL= yes
|
|
CONFIGURE_ARGS= --program-transform-name="s/x/x/" --with-pthread=yes --enable-threadsafe --enable-3ds-import --enable-sound
|
|
INSTALLS_SHLIB= yes
|
|
|
|
MAN1= coin-config.1
|
|
|
|
# Fixed in Coin's CVS but needed for the 2.0.0 release:
|
|
pre-configure:
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/configure
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|DATA install-data-local|DATA|g' ${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|