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
|
2004-08-28 06:22:12 +00:00
|
|
|
PORTVERSION= 20040822
|
2006-01-12 12:54:32 +00:00
|
|
|
PORTREVISION= 4
|
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
|
|
|
|
2003-07-21 06:02:35 +00:00
|
|
|
LIB_DEPENDS= 3ds.1:${PORTSDIR}/graphics/lib3ds \
|
2003-07-31 02:38:34 +00:00
|
|
|
gtkglext-x11-1.0.2:${PORTSDIR}/x11-toolkits/gtkglext
|
2002-07-12 20:19:17 +00:00
|
|
|
|
2003-07-11 17:42:30 +00:00
|
|
|
USE_PYTHON= yes
|
2003-11-20 16:33:53 +00:00
|
|
|
USE_GL= yes
|
2003-10-09 18:05:46 +00:00
|
|
|
USE_GNOME= gnometarget gtk20
|
2002-07-12 20:19:17 +00:00
|
|
|
USE_REINPLACE= yes
|
2002-05-07 18:48:04 +00:00
|
|
|
USE_GMAKE= yes
|
2005-11-15 06:52:12 +00:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2002-07-12 20:19:17 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2003-11-20 16:33:53 +00:00
|
|
|
CONFIGURE_ARGS= --with-lib-GL
|
2002-07-12 20:19:17 +00:00
|
|
|
|
2004-08-28 06:22:12 +00:00
|
|
|
PLIST_FILES= bin/kludge3d
|
|
|
|
|
2003-07-11 17:42:30 +00:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include -L${X11BASE}/include \
|
|
|
|
-I${PYTHON_INCLUDEDIR} ${PTHREAD_CFLAGS}
|
2003-07-21 06:02:35 +00:00
|
|
|
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib \
|
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 ; \
|
2004-08-28 06:22:12 +00:00
|
|
|
s| install-pixmapsDATA||g ; \
|
|
|
|
s|-lpthread||g'
|
2002-05-07 18:48:04 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|