2002-03-12 08:28:30 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: truevision
|
|
|
|
# Date created: Mar 12, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= truevision
|
2005-12-11 18:45:07 +01:00
|
|
|
PORTVERSION= 0.5.5.2
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 8
|
2002-03-12 08:28:30 +01:00
|
|
|
CATEGORIES= graphics
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20sources/0.5.5
|
2005-12-11 18:45:07 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
|
2002-03-12 08:28:30 +01:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:08:19 +01:00
|
|
|
COMMENT= The GNOME 3D modeler
|
2002-03-12 08:28:30 +01:00
|
|
|
|
2006-07-18 20:18:43 +02:00
|
|
|
LIB_DEPENDS= gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext
|
2002-03-12 08:28:30 +01:00
|
|
|
|
2005-12-11 18:45:07 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
|
|
|
|
|
2003-12-11 16:54:40 +01:00
|
|
|
USE_BZIP2= yes
|
2007-06-18 15:05:27 +02:00
|
|
|
USE_GETTEXT= yes
|
2011-08-11 21:20:17 +02:00
|
|
|
USE_GNOME= gnomehack gnomeprefix intlhack libgnomeui
|
- 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 19:56:05 +02:00
|
|
|
USE_GL= gl
|
2005-06-22 19:02:55 +02:00
|
|
|
USE_PYTHON= yes
|
2002-03-12 08:28:30 +01:00
|
|
|
USE_GMAKE= yes
|
2005-06-22 19:02:55 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
MAN1= truevision.1
|
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include \
|
2005-06-22 19:02:55 +02:00
|
|
|
`pkg-config --cflags gtkglext-1.0`
|
2011-09-24 00:26:39 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib \
|
2005-06-22 19:02:55 +02:00
|
|
|
`pkg-config --libs gtkglext-1.0`
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|CXXFLAGS=""||g ; \
|
|
|
|
s|-I/usr/include/gtkglext-1.0/||g ; \
|
|
|
|
s|-I/usr/local/include/gtkglext-1.0/||g ; \
|
|
|
|
s|-I/usr/lib/gtkglext-1.0/include/||g ; \
|
|
|
|
s|-I/usr/local/lib/gtkglext-1.0/include/||g ; \
|
2007-10-25 01:37:25 +02:00
|
|
|
s|-I/usr/local/include ||g' ${WRKSRC}/configure
|
2005-06-22 19:02:55 +02:00
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|-I/usr/include||g ; \
|
|
|
|
s|-I/usr/local/include||g ; \
|
|
|
|
s|-I/usr/X11R6/include||g ; \
|
|
|
|
s|-L/usr/lib||g ; \
|
|
|
|
s|-L/usr/local/lib||g ; \
|
|
|
|
s|-L/usr/X11R6/lib||g ; \
|
|
|
|
s|-O2||g ; \
|
|
|
|
s|^truevisiondoc|#truevisiondoc|g'
|
2003-12-11 16:54:40 +01:00
|
|
|
|
2004-10-06 09:58:48 +02:00
|
|
|
.include <bsd.port.mk>
|