1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/graphics/dynamechs/Makefile

48 lines
1.1 KiB
Makefile
Raw Normal View History

# ex:ts=8
# New ports collection makefile for: dynamechs
# Date created: Dec 6, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= dynamechs
PORTVERSION= 4.0.p1
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION:S/.p/pre/}
MAINTAINER= ports@FreeBSD.org
2003-02-20 18:08:19 +00:00
COMMENT= A Multibody Dynamic Simulation Library
USE_BZIP2= yes
USE_MESA= yes
USE_GMAKE= yes
MAKE_ENV= OPENGLINCDIR="${X11BASE}/include" \
OPENGLLIBDIR="${X11BASE}/lib" \
CXXFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS}" \
LDFLAGS="${PTHREAD_LIBS}"
ALL_TARGET= freebsd
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile (bad C++ code)"
.endif
do-configure:
@${CP} -f ${FILESDIR}/make.platform.freebsd ${WRKSRC}/make/
do-install:
.for dir in dm dmu dmGL
${RM} -f ${WRKSRC}/${dir}/*.orig
@${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>