789d75c728
-Update libtool and libltdl to 2.2.6a. -Remove devel/libtool15 and devel/libltdl15. -Fix ports build with libtool22/libltdl22. -Bump ports that depend on libltdl22 due to shared library version change. -Explain what to do update in the UPDATING. It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop and applications in the runtime. With help: marcus and kwm Pointyhat-exp: a few times by pav Tested by: pgollucci, "Romain Tartière" <romain@blogreen.org>, and a few MarcusCom CVS users. Also, I might have missed a few. Repocopy by: marcus Approved by: portmgr
77 lines
1.9 KiB
Makefile
77 lines
1.9 KiB
Makefile
# New ports collection makefile for: bugle
|
|
# Date created: Jun 8, 2004
|
|
# Whom: Erik Greenwald <erik@smluc.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bugle
|
|
PORTVERSION= 0.0.20071009
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= erik@smluc.org
|
|
COMMENT= A debugging library for OpenGL
|
|
|
|
OPTIONS= AVCODEC "With avcodec support (ffmpeg)" off
|
|
OPTIONS+= GUI "With GTK support (GtkGlExt)" off
|
|
OPTIONS+= THREADS "With threading support" off
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GCC= 3.4
|
|
USE_GL= gl
|
|
USE_PERL5= yes
|
|
USE_AUTOTOOLS= libltdl:22
|
|
USE_LDCONFIG= ${PREFIX}/lib ${PREFIX}/lib/${PORTNAME}
|
|
|
|
CONFIGURE_ARGS=--enable-ltdl-install=no
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib" \
|
|
GL_LIBS="-L${LOCALBASE}/lib"
|
|
|
|
BROKEN= does not compile
|
|
|
|
MAN1= gldb.1
|
|
MAN3= bugle.3
|
|
MAN7= bugle-camera.7 bugle-checks.7 bugle-eps.7 bugle-error.7 \
|
|
bugle-extoverride.7 bugle-frontbuffer.7 bugle-log.7 bugle-logstats.7 \
|
|
bugle-screenshot.7 bugle-showerror.7 bugle-showextensions.7 \
|
|
bugle-showstats.7 bugle-stats_basic.7 bugle-stats_fragments.7 \
|
|
bugle-stats_nv.7 bugle-stats_primitives.7 bugle-trace.7 \
|
|
bugle-unwindstack.7 bugle-wireframe.7
|
|
|
|
OPTIONS= AVCODEC "Use lavc from multimedia/ffmpeg" off
|
|
OPTIONS+= GUI "Use gktglext" off
|
|
OPTIONS+= THREADS "Use pthreads" off
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_AVCODEC)
|
|
CONFIGURE_ARGS+=--with-lavc
|
|
LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg
|
|
.else
|
|
CONFIGURE_ARGS+=--without-lavc
|
|
.endif
|
|
|
|
.if defined(WITH_GUI)
|
|
LIB_DEPENDS+= gtkglext-x11-1.0:${PORTSDIR}/x11-toolkits/gtkglext
|
|
CONFIGURE_ARGS+=--with-gtk --with-gtkglext
|
|
.else
|
|
CONFIGURE_ARGS+=--without-gtk --without-gtkglext
|
|
.endif
|
|
|
|
.if defined(WITH_THREADS)
|
|
CONFIGURE_ARGS+=--with-threads=pthreads
|
|
.else
|
|
CONFIGURE_ARGS+=--with-threads=single
|
|
.endif
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
BROKEN= Fails to link
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' ${WRKSRC}/gentokens/find_header.perl
|
|
|
|
.include <bsd.port.post.mk>
|