2013-05-06 10:31:29 +02:00
|
|
|
# Created by: Erik Greenwald <erik@smluc.org>
|
2004-06-12 15:01:59 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= bugle
|
2014-07-29 18:19:51 +02:00
|
|
|
PORTVERSION= 0.0.20100508
|
2018-05-02 17:07:27 +02:00
|
|
|
PORTREVISION= 11
|
2004-06-12 15:01:59 +02:00
|
|
|
CATEGORIES= graphics
|
2007-10-24 01:06:51 +02:00
|
|
|
MASTER_SITES= SF
|
2004-06-12 15:01:59 +02:00
|
|
|
|
2014-07-23 19:07:12 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-06-13 09:36:27 +02:00
|
|
|
COMMENT= Debugging library for OpenGL
|
2004-06-12 15:01:59 +02:00
|
|
|
|
2014-07-29 18:19:51 +02:00
|
|
|
LICENSE= GPLv2
|
2004-06-16 16:53:35 +02:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libltdl.so:devel/libltdl
|
2014-09-17 09:38:15 +02:00
|
|
|
|
2014-07-29 18:19:51 +02:00
|
|
|
USES= libtool pathfix perl5
|
- 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
|
2014-07-29 18:19:51 +02:00
|
|
|
USE_GCC= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --enable-ltdl-install=no
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
USE_LDCONFIG= yes
|
2006-04-12 17:47:02 +02:00
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-07-29 18:19:51 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2004-06-12 15:01:59 +02:00
|
|
|
|
2014-07-29 18:19:51 +02:00
|
|
|
OPTIONS_DEFINE= FFMPEG GTK2 READLINE THREADS
|
|
|
|
OPTIONS_DEFAULT= READLINE THREADS
|
2006-06-05 02:16:04 +02:00
|
|
|
|
2014-07-29 18:19:51 +02:00
|
|
|
FFMPEG_CONFIGURE_WITH= lavc
|
2016-04-01 16:00:51 +02:00
|
|
|
FFMPEG_LIB_DEPENDS= libavcodec.so.1:multimedia/ffmpeg
|
|
|
|
GTK2_LIB_DEPENDS= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
|
2014-07-29 18:19:51 +02:00
|
|
|
GTK2_USE= gnome=gtk20
|
|
|
|
GTK2_CONFIGURE_WITH= gtk gtkglext
|
|
|
|
READLINE_USES= readline
|
|
|
|
READLINE_CONFIGURE_WITH= readline
|
|
|
|
THREADS_CONFIGURE_ON= --with-threads=pthreads
|
|
|
|
THREADS_CONFIGURE_OFF= --with-threads=single
|
2008-02-01 12:57:09 +01:00
|
|
|
|
2015-07-02 21:40:15 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MFFMPEG}
|
|
|
|
BROKEN= Does not build with ffmpeg-2.7
|
|
|
|
.endif
|
|
|
|
|
2006-12-03 07:37:40 +01:00
|
|
|
post-patch:
|
2014-07-29 18:19:51 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|=-lpthread|=-pthread|g' ${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|/usr/X11R6|${LOCALBASE}|' ${WRKSRC}/gengl/find_header.perl
|
2009-11-22 18:14:57 +01:00
|
|
|
|
2013-05-06 10:31:29 +02:00
|
|
|
.include <bsd.port.mk>
|