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
|
|
|
|
PORTVERSION= 0.4.1.0
|
2004-12-05 16:12:36 +01:00
|
|
|
PORTREVISION= 2
|
2004-06-11 09:10:39 +02:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2004-06-14 01:57:40 +02:00
|
|
|
MAINTAINER= dyeske@yahoo.com
|
2004-06-11 09:10:39 +02:00
|
|
|
COMMENT= A free 3D modeling, animation, and rendering system
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${X11BASE}/lib/libplibul.a:${PORTSDIR}/x11-toolkits/plib
|
|
|
|
# ${X11BASE}/lib/libode.a:${PORTSDIR}/devel/ode
|
|
|
|
LIB_DEPENDS= sigc.1:${PORTSDIR}/devel/libsigc++ \
|
|
|
|
freetype.9:${PORTSDIR}/print/freetype2 \
|
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
2004-12-05 16:12:36 +01:00
|
|
|
Magick++.7:${PORTSDIR}/graphics/ImageMagick \
|
2004-06-11 09:10:39 +02:00
|
|
|
netpbm.1:${PORTSDIR}/graphics/netpbm \
|
|
|
|
Half.2:${PORTSDIR}/graphics/OpenEXR \
|
2004-10-20 06:37:42 +02:00
|
|
|
gts.3:${PORTSDIR}/graphics/gts
|
2004-06-11 09:10:39 +02:00
|
|
|
|
|
|
|
USE_GL= yes
|
|
|
|
USE_GNOME= gnometarget gtk12 libxslt
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= \
|
|
|
|
CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
|
|
|
CONFIGURE_ARGS= --without-docbook --without-graphviz \
|
|
|
|
--with-openexr --with-plib --with-gts
|
|
|
|
# --with-ode
|
|
|
|
USE_GMAKE= yes
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
|
|
|
MAN1= k3d.1
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-09-18 20:47:46 +02:00
|
|
|
.if ${OSVERSION} >= 502126
|
|
|
|
BROKEN= "Does not compile on FreeBSD >= 5.x"
|
|
|
|
.endif
|
|
|
|
|
2004-07-02 10:18:05 +02:00
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
BROKEN= "Does not compile on FreeBSD 4.x"
|
|
|
|
.endif
|
2004-12-19 00:02:35 +01:00
|
|
|
EXPIRATION_DATE=2005-02-18
|
|
|
|
DEPRECATED= "Does not compile"
|
2004-07-02 10:18:05 +02:00
|
|
|
|
2004-06-11 09:10:39 +02:00
|
|
|
post-install:
|
|
|
|
.for dir in ${PREFIX}/include/k3d ${PREFIX}/share/k3d ${PREFIX}/lib/k3d
|
|
|
|
@${FIND} ${dir} ! -type d | \
|
|
|
|
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
|
|
|
@${FIND} ${dir} -type d | ${SORT} -r | \
|
|
|
|
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|