mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
92ea0d614b
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!
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
# Created by: Fernando Apesteguia <fernando.apesteguia@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= openvsp
|
|
PORTVERSION= 2.2.3
|
|
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
|
|
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 \
|
|
fltk:${PORTSDIR}/x11-toolkits/fltk
|
|
|
|
USE_GITHUB= yes
|
|
GH_PROJECT= OpenVSP
|
|
GH_ACCOUNT= ${GH_PROJECT}
|
|
GH_TAGNAME= ${GH_PROJECT}_${PORTVERSION}
|
|
GH_COMMIT= fb52aa2
|
|
|
|
CMAKE_SOURCE_PATH= ${WRKSRC}/src
|
|
USES= cmake:outsource iconv
|
|
USE_DOS2UNIX= yes
|
|
USE_XORG= ice sm x11 xau xcb xdamage xdmcp xext xfixes xft \
|
|
xinerama xrender xxf86vm
|
|
USE_GL= glu
|
|
USE_GNOME= libxml2
|
|
|
|
PORTEXAMPLES= *
|
|
INSTALL_PORTEXAMPLES= @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
|
|
|
|
PLIST_FILES= bin/vsp
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include/openNURBS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${BUILD_WRKSRC}/vsp/vsp ${PREFIX}/bin
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@${INSTALL_PORTEXAMPLES}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|