a99f4bc31d
A Multibody Dynamic Simulation Library
33 lines
803 B
Makefile
33 lines
803 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: dynamechs
|
|
# Date created: Dec 6, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dynamechs
|
|
PORTVERSION= 4.0p1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION:S/p/pre/}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
USE_MESA= yes
|
|
USE_GMAKE= yes
|
|
MAKE_ENV= OPENGLINCDIR="${X11BASE}/include" \
|
|
OPENGLLIBDIR="${X11BASE}/lib" \
|
|
CXXFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS}" \
|
|
LDFLAGS="${PTHREAD_LIBS}"
|
|
ALL_TARGET= freebsd
|
|
|
|
do-install:
|
|
.for dir in dm dmu dmGL
|
|
@${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
|
|
|
|
.include <bsd.port.mk>
|