2012-12-15 18:09:31 +01:00
|
|
|
# Created by: Pedro F. Giffuni <giffunip@asme.org>
|
2005-02-20 23:00:46 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= brlcad
|
2013-06-21 21:55:20 +02:00
|
|
|
PORTVERSION= 7.24.0
|
2014-12-25 21:54:41 +01:00
|
|
|
PORTREVISION= 3
|
2005-02-20 23:00:46 +01:00
|
|
|
CATEGORIES= cad
|
2009-08-22 02:15:15 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/BRL-CAD%20Source/${PORTVERSION}
|
2005-02-20 23:00:46 +01:00
|
|
|
|
2010-05-16 11:59:41 +02:00
|
|
|
MAINTAINER= erik@brlcad.org
|
2005-02-21 07:34:39 +01:00
|
|
|
COMMENT= CSG modelling system from the US Ballistic Research Laboratory
|
2005-02-20 23:00:46 +01:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/tnt/jama_lu.h:math/jama \
|
|
|
|
xsltproc:textproc/libxslt
|
|
|
|
LIB_DEPENDS= libpthread-stubs.so:devel/libpthread-stubs \
|
|
|
|
libdrm.so:graphics/libdrm \
|
|
|
|
libpng.so:graphics/png \
|
|
|
|
librle.so:graphics/urt \
|
|
|
|
libfreetype.so:print/freetype2 \
|
|
|
|
libexpat.so:textproc/expat2 \
|
|
|
|
libfontconfig.so:x11-fonts/fontconfig
|
2012-09-09 17:01:14 +02:00
|
|
|
|
2011-12-03 20:39:12 +01:00
|
|
|
USE_GL= gl glu
|
The FreeBSD x11 team proudly presents
an zeising, kwm, miwi, bapt, eadler production:
Xorg 7.7
Starring:
xserver 1.12.4 (new xorg only)
Mesa 8.0.4, including libGL, libGLU and dri (new xorg only)
libX11 1.5.0
libxcb 1.9
libdrm 2.4.42 (new xorg only)
freeglut 2.8.1
Also starring:
Updates to drivers and other libraries and utilities
Additional notes:
Change pkgconf to be a build dependency.
Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use
this.
Trim makefile headers.
Take maintanership of x11/xcb-proto, ok'd by ashish.
If you are running WITH_NEW_XORG=, you need to rebuild all installed
drivers, see UPDATING for more information.
Various fixes to make ports compile.
PR: ports/177942
Exp-run by: miwi
Approved by: portmgr (miwi)
Thanks to all who helped testing!
2013-05-25 16:37:02 +02:00
|
|
|
USE_XORG= ice inputproto sm x11 xau xcb xdamage xdmcp xext xfixes xft xi \
|
2012-12-15 18:09:31 +01:00
|
|
|
xproto xrender xscrnsaver xt xxf86vm
|
2014-06-01 16:48:08 +02:00
|
|
|
USES= tar:bzip2 bison pathfix cmake:outsource pkgconfig tk:85
|
2012-07-01 14:32:37 +02:00
|
|
|
USE_LDCONFIG= yes
|
2005-02-20 23:00:46 +01:00
|
|
|
|
|
|
|
PREFIX?= ${LOCALBASE}/${PORTNAME}
|
|
|
|
NO_MTREE= yes
|
|
|
|
|
2005-09-14 23:46:26 +02:00
|
|
|
PLIST_SUB+= PORTVERSION=${PORTVERSION}
|
2005-02-20 23:00:46 +01:00
|
|
|
|
2011-12-03 20:39:12 +01:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
#LDFLAGS+= -L${LOCALBASE}/lib
|
2013-06-21 21:55:20 +02:00
|
|
|
CMAKE_ARGS= -DBRLCAD_ENABLE_STRICT:BOOL=OFF
|
|
|
|
MANPREFIX= ${PREFIX}/share
|
2012-07-01 14:32:37 +02:00
|
|
|
|
2013-12-04 19:48:48 +01:00
|
|
|
BROKEN_sparc64= does not compile: invokes i386 assembler
|
2011-07-16 07:23:25 +02:00
|
|
|
|
2006-12-05 22:45:12 +01:00
|
|
|
post-patch:
|
2014-01-28 15:06:16 +01:00
|
|
|
@${REINPLACE_CMD} "s+-exact Tcl 8\.5\.9+Tcl 8.5+" ${WRKSRC}/src/other/tcl/library/init.tcl
|
2006-12-05 22:45:12 +01:00
|
|
|
|
2005-02-20 23:00:46 +01:00
|
|
|
pre-install:
|
|
|
|
${CP} ${FILESDIR}/mged.sh ${WRKSRC}
|
2007-11-06 11:18:58 +01:00
|
|
|
${REINPLACE_CMD} -e 's+%%BRLCAD_ROOT%%+${PREFIX}+g;' ${WRKSRC}/mged.sh
|
2005-02-20 23:00:46 +01:00
|
|
|
|
2006-07-06 15:56:37 +02:00
|
|
|
# note that installing outside of PREFIX wigs out package stuff... :/
|
2005-02-20 23:00:46 +01:00
|
|
|
post-install:
|
2013-11-17 18:40:39 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/mged.sh ${STAGEDIR}${PREFIX}/bin/mged.sh
|
|
|
|
${MKDIR} ${STAGEDIR}${LOCALBASE}/bin
|
|
|
|
${LN} -s ${PREFIX}/bin/mged.sh ${STAGEDIR}${LOCALBASE}/bin/mged.sh
|
2005-02-20 23:00:46 +01:00
|
|
|
|
2008-07-13 23:17:17 +02:00
|
|
|
regression-test: build
|
2014-06-25 00:05:47 +02:00
|
|
|
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} test)
|
2008-07-13 23:17:17 +02:00
|
|
|
|
2013-12-04 19:48:48 +01:00
|
|
|
.include <bsd.port.mk>
|