2001-12-06 15:37:51 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: dynamechs
|
|
|
|
# Date created: Dec 6, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= dynamechs
|
2002-12-22 18:01:53 +00:00
|
|
|
PORTVERSION= 4.0.p1
|
2004-02-04 05:21:48 +00:00
|
|
|
PORTREVISION= 1
|
2002-12-22 18:01:53 +00:00
|
|
|
PORTEPOCH= 1
|
2001-12-06 15:37:51 +00:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2002-12-22 18:01:53 +00:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION:S/.p/pre/}
|
2001-12-06 15:37:51 +00:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:08:19 +00:00
|
|
|
COMMENT= A Multibody Dynamic Simulation Library
|
2001-12-06 15:37:51 +00:00
|
|
|
|
2003-11-20 04:08:13 +00:00
|
|
|
USE_BZIP2= yes
|
2001-12-06 15:37:51 +00:00
|
|
|
USE_MESA= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKE_ENV= OPENGLINCDIR="${X11BASE}/include" \
|
|
|
|
OPENGLLIBDIR="${X11BASE}/lib" \
|
|
|
|
CXXFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS}" \
|
|
|
|
LDFLAGS="${PTHREAD_LIBS}"
|
|
|
|
ALL_TARGET= freebsd
|
|
|
|
|
2003-06-04 22:43:38 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 500113
|
2003-11-20 04:08:13 +00:00
|
|
|
BROKEN= "Does not compile (bad C++ code)"
|
2003-06-04 22:43:38 +00:00
|
|
|
.endif
|
|
|
|
|
2002-12-22 18:01:53 +00:00
|
|
|
do-configure:
|
2003-11-20 04:08:13 +00:00
|
|
|
@${CP} -f ${FILESDIR}/make.platform.freebsd ${WRKSRC}/make/
|
2002-12-22 18:01:53 +00:00
|
|
|
|
2001-12-06 15:37:51 +00:00
|
|
|
do-install:
|
|
|
|
.for dir in dm dmu dmGL
|
2003-11-20 04:08:13 +00:00
|
|
|
${RM} -f ${WRKSRC}/${dir}/*.orig
|
2001-12-06 15:37:51 +00:00
|
|
|
@${MKDIR} ${PREFIX}/include/${PORTNAME}/${dir}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${dir}/*.h* ${PREFIX}/include/${PORTNAME}/${dir}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/platform.freebsd/lib${dir}.so ${PREFIX}/lib
|
|
|
|
.endfor
|
|
|
|
|
2003-05-18 09:55:25 +00:00
|
|
|
.include <bsd.port.post.mk>
|