2012-12-16 19:14:59 +01:00
|
|
|
# Created by: Fernando Apesteguia <fernando.apesteguia@gmail.com>
|
2012-04-22 14:06:12 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= openvsp
|
2013-06-18 16:27:24 +02:00
|
|
|
PORTVERSION= 2.2.4
|
2012-04-22 14:06:12 +02:00
|
|
|
CATEGORIES= cad
|
|
|
|
|
|
|
|
MAINTAINER= fernando.apesteguia@gmail.com
|
|
|
|
COMMENT= Create a 3D model of an aircraft defined by engineering parameters
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libopenNURBS.a:${PORTSDIR}/graphics/opennurbs
|
2012-12-16 19:14:59 +01:00
|
|
|
LIB_DEPENDS= pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
|
|
|
|
jpeg:${PORTSDIR}/graphics/jpeg \
|
|
|
|
drm:${PORTSDIR}/graphics/libdrm \
|
|
|
|
png15:${PORTSDIR}/graphics/png \
|
|
|
|
freetype:${PORTSDIR}/print/freetype2 \
|
|
|
|
expat:${PORTSDIR}/textproc/expat2 \
|
|
|
|
fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
|
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
|
|
|
fltk:${PORTSDIR}/x11-toolkits/fltk
|
2012-04-22 14:06:12 +02:00
|
|
|
|
2013-04-16 22:19:19 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_PROJECT= OpenVSP
|
|
|
|
GH_ACCOUNT= ${GH_PROJECT}
|
|
|
|
GH_TAGNAME= ${GH_PROJECT}_${PORTVERSION}
|
2013-06-18 16:27:24 +02:00
|
|
|
GH_COMMIT= 5e7532c
|
2013-04-16 22:19:19 +02:00
|
|
|
|
|
|
|
CMAKE_SOURCE_PATH= ${WRKSRC}/src
|
2013-04-27 10:50:46 +02:00
|
|
|
USES= cmake:outsource iconv
|
2012-04-22 14:06:12 +02:00
|
|
|
USE_DOS2UNIX= yes
|
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 sm x11 xau xcb xdamage xdmcp xext xfixes xft \
|
2012-12-16 19:14:59 +01:00
|
|
|
xinerama xrender xxf86vm
|
|
|
|
USE_GL= glu
|
2012-04-22 14:06:12 +02:00
|
|
|
USE_GNOME= libxml2
|
|
|
|
|
|
|
|
PORTEXAMPLES= *
|
|
|
|
|
|
|
|
PLIST_FILES= bin/vsp
|
|
|
|
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include/openNURBS
|
|
|
|
|
2013-09-20 17:58:41 +02:00
|
|
|
NO_STAGE= yes
|
2013-02-20 19:07:19 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-04-22 14:06:12 +02:00
|
|
|
do-install:
|
2013-06-18 16:27:24 +02:00
|
|
|
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/vsp/vsp ${PREFIX}/bin
|
2013-02-20 19:07:19 +01:00
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
2012-04-22 14:06:12 +02:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2013-06-18 16:27:24 +02:00
|
|
|
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
|
2012-04-22 14:06:12 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|