f9849ff781
runtime and require libgnome if enable WITH_GNOME. - Remove all X11BASE. - Correct the --with-python for ${PREFIX} -> ${PYTHONBASE} to make it prefix safer. - Bump the PORTREVISION. [1] http://lists.freebsd.org/pipermail/freebsd-ports/2008-April/047850.html Approved by: maintainer timeout (two weeks)
64 lines
1.6 KiB
Makefile
64 lines
1.6 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: k3d
|
|
# Date created: Jun 9, 2004
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= k3d
|
|
PORTVERSION= 0.6.7.0
|
|
DISTVERSIONSUFFIX=-src
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= dyeske@gmail.com
|
|
COMMENT= 3D modeling, animation, and rendering system
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibul.a:${PORTSDIR}/x11-toolkits/plib
|
|
LIB_DEPENDS= Magick++.10:${PORTSDIR}/graphics/ImageMagick \
|
|
IlmImf.6:${PORTSDIR}/graphics/OpenEXR \
|
|
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
|
|
RUN_DEPENDS= ppmtompeg:${PORTSDIR}/graphics/netpbm
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
|
|
|
|
USE_GL= yes
|
|
USE_PYTHON= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS= --without-docbook --without-graphviz \
|
|
--with-truetype=freetype2 --with-imagemagick --with-jpeg \
|
|
--with-python=${PYTHONBASE} --with-tiff --with-openexr \
|
|
--with-plib --with-png --with-external-boost --with-libxml2
|
|
USE_GMAKE= yes
|
|
USE_GNOME= gnometarget libxslt
|
|
WANT_GNOME= yes
|
|
USE_LDCONFIG= yes
|
|
MAN1= k3d.1
|
|
|
|
OPTIONS= GNOME "Build for Gnome" off
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 600000
|
|
BROKEN= Does not compile on FreeBSD 5.x
|
|
.endif
|
|
|
|
.if defined(WITH_GNOME)
|
|
USE_GNOME+= libgnome
|
|
CONFIGURE_ARGS+=--with-gnome
|
|
PKGNAMESUFFIX= -gnome
|
|
PLIST_SUB+= GNOME=""
|
|
.else
|
|
CONFIGURE_ARGS+=--without-gnome
|
|
PLIST_SUB+= GNOME="@comment "
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|