2003-01-24 07:44:37 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: osgedit
|
|
|
|
# Date created: Jan 23, 2003
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= osgedit
|
2004-02-01 19:06:53 +01:00
|
|
|
PORTVERSION= 0.5.0
|
2004-11-07 23:37:47 +01:00
|
|
|
PORTREVISION= 3
|
2003-01-24 07:44:37 +01:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:08:19 +01:00
|
|
|
COMMENT= An open editor for an open scenegraph
|
2003-01-24 07:44:37 +01:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ${X11BASE}/lib/libosg.so:${PORTSDIR}/graphics/osg
|
2004-02-01 19:06:53 +01:00
|
|
|
LIB_DEPENDS= gtkglext-x11-1.0.2:${PORTSDIR}/x11-toolkits/gtkglext
|
2003-01-24 07:44:37 +01:00
|
|
|
RUN_DEPENDS= ${X11BASE}/lib/libosg.so:${PORTSDIR}/graphics/osg
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2004-02-01 19:06:53 +01:00
|
|
|
USE_GNOME= gnomehack gnomeprefix gnometarget libgnomeui
|
2004-02-04 05:36:30 +01:00
|
|
|
USE_GETTEXT= yes
|
2004-02-01 19:06:53 +01:00
|
|
|
USE_GMAKE= yes
|
2003-01-24 07:44:37 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-02-01 19:06:53 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2003-01-24 07:44:37 +01:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2004-02-01 19:06:53 +01:00
|
|
|
CONFIGURE_ARGS= --enable-gtkglext
|
|
|
|
|
|
|
|
CFLAGS+= -O0
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
.for file in src/gui/interface.cc
|
|
|
|
@cd ${WRKSRC} && ${MV} ${file} ${file}.pre_conv \
|
|
|
|
&& ${TR} -d '\015' < ${file}.pre_conv > ${file} || ${TRUE}
|
|
|
|
.endfor
|
2003-01-24 07:44:37 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|