diff options
author | marcus <marcus@FreeBSD.org> | 2003-12-19 05:55:35 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-12-19 05:55:35 +0000 |
commit | e2d142886451dbb2a33836841448f2e6b9ea0940 (patch) | |
tree | 96564da5faa237ccbf178ec99b51645e90074654 /graphics/blender-devel | |
parent | af2afeadf9b149e52ab63e2672d8a32140cca566 (diff) | |
download | FreeBSD-ports-e2d142886451dbb2a33836841448f2e6b9ea0940.zip FreeBSD-ports-e2d142886451dbb2a33836841448f2e6b9ea0940.tar.gz |
* Update to 2.31a
* Re-add OpenAL support
* USE_MESA -> USE_GL
PR: 60388
Submitted by: maintainer
Diffstat (limited to 'graphics/blender-devel')
-rw-r--r-- | graphics/blender-devel/Makefile | 38 | ||||
-rw-r--r-- | graphics/blender-devel/distinfo | 2 |
2 files changed, 25 insertions, 15 deletions
diff --git a/graphics/blender-devel/Makefile b/graphics/blender-devel/Makefile index e340adb..8dc109e 100644 --- a/graphics/blender-devel/Makefile +++ b/graphics/blender-devel/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ PORTNAME= blender -PORTVERSION= 2.28c +PORTVERSION= 2.31a CATEGORIES= graphics games MASTER_SITES= http://download.blender.org/source/ PKGNAMESUFFIX= -devel @@ -23,16 +23,35 @@ USE_LIBTOOL= yes USE_GMAKE= yes USE_PYTHON= yes USE_SDL= yes -USE_MESA= yes +USE_GL= yes -CONFIGURE_ARGS= --disable-oggtest --disable-vorbistest --disable-sdltest +CONFIGURE_ARGS= --with-sdl=${LOCALBASE} --disable-oggtest --disable-vorbistest --disable-sdltest -CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include" +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include" \ + LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS} -L${LOCALBASE}/lib -L${X11BASE}/lib" .if defined(WITH_OPTIMIZED_CFLAGS) CFLAGS+= -O3 -ffast-math .endif +.if exists(${LOCALBASE}/lib/libfreetype.so.9) && !defined(WITHOUT_FREETYPE) +WITH_FREETYPE= yes +.endif + +.if exists(${LOCALBASE}/lib/libopenal.so) && !defined(WITHOUT_OPENAL) +WITH_OPENAL= yes +.endif + +.if defined(WITH_FREETYPE) +LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2 +CONFIGURE_ARGS+= --with-freetype2=${LOCALBASE} +.endif + +.if defined(WITH_OPENAL) +LIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal +CONFIGURE_ARGS+= --enable-openal +.endif + pre-everything:: .if !defined(WITH_OPTIMIZED_CFLAGS) @${ECHO_MSG} "You can enable additional compilation optimizations" @@ -47,7 +66,7 @@ post-patch: @${REINPLACE_CMD} -E -e \ 's|^program_transform_name.+$$||; \ s| -DFreeBSD||; \ - s|-lSDL|-lSDL-1.1 -L${X11BASE}/lib|' \ + s|-lSDL|-lSDL-1.1|' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} @${REINPLACE_CMD} -e \ @@ -55,13 +74,4 @@ post-patch: ${WRKSRC}/source/blender/python/api2_2x/Makefile.in \ ${WRKSRC}/source/blender/python/Makefile.in -post-configure: - @${FIND} ${WRKSRC} -name "Makefile" | \ - ${XARGS} ${REINPLACE_CMD} -e \ - 's|-lesd||; \ - s|-lsmpeg||; \ - s|-lvorbisfile||; \ - s|-lvorbis||; \ - s|-logg||' - .include <bsd.port.mk> diff --git a/graphics/blender-devel/distinfo b/graphics/blender-devel/distinfo index e7ab3fd..af77327 100644 --- a/graphics/blender-devel/distinfo +++ b/graphics/blender-devel/distinfo @@ -1 +1 @@ -MD5 (blender-2.28c.tar.bz2) = b1e00a4d8f63ca2a7598e20c89a0b7fd +MD5 (blender-2.31a.tar.bz2) = 834d9236b233951d854b02f7cd3721fb |