2004-06-11 09:10:39 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: k3d
|
|
|
|
# Date created: Jun 9, 2004
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= k3d
|
2007-12-13 08:25:32 +01:00
|
|
|
PORTVERSION= 0.6.7.0
|
2008-04-17 21:46:24 +02:00
|
|
|
DISTVERSIONSUFFIX=-src
|
|
|
|
PORTREVISION= 1
|
2004-06-11 09:10:39 +02:00
|
|
|
CATEGORIES= graphics
|
2007-12-13 08:25:32 +01:00
|
|
|
MASTER_SITES= SF
|
2004-06-11 09:10:39 +02:00
|
|
|
|
2007-07-06 01:39:06 +02:00
|
|
|
MAINTAINER= dyeske@gmail.com
|
2007-12-13 08:25:32 +01:00
|
|
|
COMMENT= 3D modeling, animation, and rendering system
|
2004-06-11 09:10:39 +02:00
|
|
|
|
2008-04-17 21:46:24 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibul.a:${PORTSDIR}/x11-toolkits/plib
|
|
|
|
LIB_DEPENDS= Magick++.10:${PORTSDIR}/graphics/ImageMagick \
|
2007-10-07 19:46:16 +02:00
|
|
|
IlmImf.6:${PORTSDIR}/graphics/OpenEXR \
|
2007-12-13 08:25:32 +01:00
|
|
|
gts.5:${PORTSDIR}/graphics/gts \
|
|
|
|
gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \
|
|
|
|
gtkglext-x11-1.0:${PORTSDIR}/x11-toolkits/gtkglext \
|
|
|
|
boost_signals.4:${PORTSDIR}/devel/boost \
|
|
|
|
execinfo:${PORTSDIR}/devel/libexecinfo
|
2008-04-17 21:46:24 +02:00
|
|
|
RUN_DEPENDS= ppmtompeg:${PORTSDIR}/graphics/netpbm
|
2004-06-11 09:10:39 +02:00
|
|
|
|
2008-04-17 21:46:24 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
|
2005-02-15 23:45:49 +01:00
|
|
|
|
2004-06-11 09:10:39 +02:00
|
|
|
USE_GL= yes
|
2007-12-13 08:25:32 +01:00
|
|
|
USE_PYTHON= yes
|
2004-06-11 09:10:39 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2008-04-17 21:46:24 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
CONFIGURE_ARGS= --without-docbook --without-graphviz \
|
2007-12-13 08:25:32 +01:00
|
|
|
--with-truetype=freetype2 --with-imagemagick --with-jpeg \
|
2008-04-17 21:46:24 +02:00
|
|
|
--with-python=${PYTHONBASE} --with-tiff --with-openexr \
|
|
|
|
--with-plib --with-png --with-external-boost --with-libxml2
|
2004-06-11 09:10:39 +02:00
|
|
|
USE_GMAKE= yes
|
2008-04-17 21:46:24 +02:00
|
|
|
USE_GNOME= gnometarget libxslt
|
|
|
|
WANT_GNOME= yes
|
2007-12-13 08:25:32 +01:00
|
|
|
USE_LDCONFIG= yes
|
2008-04-17 21:46:24 +02:00
|
|
|
MAN1= k3d.1
|
2004-06-11 09:10:39 +02:00
|
|
|
|
2007-12-13 08:25:32 +01:00
|
|
|
OPTIONS= GNOME "Build for Gnome" off
|
|
|
|
|
2004-06-11 09:10:39 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-12-16 04:30:48 +01:00
|
|
|
.if ${OSVERSION} < 600000
|
|
|
|
BROKEN= Does not compile on FreeBSD 5.x
|
|
|
|
.endif
|
|
|
|
|
2007-12-13 08:25:32 +01:00
|
|
|
.if defined(WITH_GNOME)
|
2008-04-17 21:46:24 +02:00
|
|
|
USE_GNOME+= libgnome
|
|
|
|
CONFIGURE_ARGS+=--with-gnome
|
|
|
|
PKGNAMESUFFIX= -gnome
|
2007-12-13 08:25:32 +01:00
|
|
|
PLIST_SUB+= GNOME=""
|
|
|
|
.else
|
2008-04-17 21:46:24 +02:00
|
|
|
CONFIGURE_ARGS+=--without-gnome
|
2007-12-13 08:25:32 +01:00
|
|
|
PLIST_SUB+= GNOME="@comment "
|
2005-09-07 02:13:27 +02:00
|
|
|
.endif
|
|
|
|
|
2004-06-11 09:10:39 +02:00
|
|
|
.include <bsd.port.post.mk>
|