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
|
2009-07-31 13:57:52 +00:00
|
|
|
PORTREVISION= 8
|
2002-05-07 18:48:04 +00:00
|
|
|
CATEGORIES= graphics
|
2009-08-22 00:23:13 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/source/2004-08-22
|
2002-05-07 18:48:04 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
2007-09-07 07:33:39 +00:00
|
|
|
LIB_DEPENDS= 3ds-1.3:${PORTSDIR}/graphics/lib3ds \
|
2006-07-18 18:18:43 +00:00
|
|
|
gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext
|
2002-07-12 20:19:17 +00:00
|
|
|
|
2003-07-11 17:42:30 +00:00
|
|
|
USE_PYTHON= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
USE_GL= gl
|
2003-10-09 18:05:46 +00:00
|
|
|
USE_GNOME= gnometarget gtk20
|
2002-05-07 18:48:04 +00:00
|
|
|
USE_GMAKE= yes
|
2006-02-23 10:40:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
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
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include \
|
2003-07-11 17:42:30 +00:00
|
|
|
-I${PYTHON_INCLUDEDIR} ${PTHREAD_CFLAGS}
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
LDFLAGS= -L${LOCALBASE}/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>
|