freebsd-ports/graphics/dynamechs/Makefile
Mark Linimon 8902a20e43 Per submitter: "minor changes like add USE_BZIP2 and add a pkg-descr. Also
modified two of the patches in the hopes that they would help build this
port on -current."  Unfortunately I still see "dm/dm.h:26:1: unterminated
#ifndef" on 5.1-RELEASE so I'm going to leave it marked broken there.
PR: ports/57079
Submitted by: Pedro F. Giffuni <giffunip@yahoo.com>.
2003-11-20 04:08:13 +00:00

46 lines
1.1 KiB
Makefile

# ex:ts=8
# New ports collection makefile for: dynamechs
# Date created: Dec 6, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= dynamechs
PORTVERSION= 4.0.p1
PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION:S/.p/pre/}
MAINTAINER= ports@FreeBSD.org
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
.include <bsd.port.post.mk>