2002-05-07 18:48:04 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: kludge3d
|
|
|
|
# Date created: May 7, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= kludge3d
|
2003-07-11 17:42:30 +00:00
|
|
|
PORTVERSION= 20030709
|
2002-05-07 18:48:04 +00:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:08:19 +00:00
|
|
|
COMMENT= A simple 3d editor
|
2002-05-07 18:48:04 +00:00
|
|
|
|
2002-07-12 20:19:17 +00:00
|
|
|
LIB_DEPENDS= gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea \
|
|
|
|
3ds.1:${PORTSDIR}/graphics/lib3ds
|
|
|
|
|
2002-09-03 02:46:49 +00:00
|
|
|
USE_GNOME= gtk12
|
2003-07-11 17:42:30 +00:00
|
|
|
USE_PYTHON= yes
|
2002-05-07 18:48:04 +00:00
|
|
|
USE_MESA= yes
|
2002-07-12 20:19:17 +00:00
|
|
|
USE_REINPLACE= yes
|
2002-05-07 18:48:04 +00:00
|
|
|
USE_GMAKE= yes
|
2002-07-12 20:19:17 +00:00
|
|
|
USE_LIBTOOL= yes
|
2002-11-20 12:36:25 +00:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2002-07-12 20:19:17 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
|
2003-07-11 17:42:30 +00:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include -L${X11BASE}/include \
|
|
|
|
-I${PYTHON_INCLUDEDIR} ${PTHREAD_CFLAGS}
|
2002-07-12 20:19:17 +00:00
|
|
|
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib -lm -lX11 -lXext \
|
2003-07-11 17:42:30 +00:00
|
|
|
-L${PYTHON_LIBDIR}/config ${PTHREAD_LIBS}
|
2002-07-12 20:19:17 +00:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|@EXTRA_CFLAGS@|@CFLAGS@|g ; \
|
|
|
|
s| install-pixmapsDATA||g'
|
2002-05-07 18:48:04 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|