2002-06-08 16:31:36 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: xtheater
|
|
|
|
# Date created: Jun 7, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xtheater
|
2002-07-13 20:12:12 +02:00
|
|
|
PORTVERSION= 1.0.0.p1
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 7
|
2002-07-13 20:12:12 +02:00
|
|
|
PORTEPOCH= 1
|
2003-04-04 03:38:40 +02:00
|
|
|
CATEGORIES= multimedia
|
2009-08-22 02:28:34 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/Xtheater/1.0.0-pre1
|
2002-07-13 20:12:12 +02:00
|
|
|
DISTNAME= Xtheater-${PORTVERSION:S/.p/-pre/}
|
2002-06-08 16:31:36 +02:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:08:19 +01:00
|
|
|
COMMENT= MPEG-1 player in GTK+ capable of playing MPEG-1 format streams
|
2002-06-08 16:31:36 +02:00
|
|
|
|
2004-01-23 22:59:42 +01:00
|
|
|
LIB_DEPENDS= smpeg.1:${PORTSDIR}/multimedia/smpeg
|
2002-06-08 16:31:36 +02:00
|
|
|
|
2009-08-02 21:36:34 +02:00
|
|
|
USE_AUTOTOOLS= libtool:22
|
2004-01-23 22:59:42 +01:00
|
|
|
USE_SDL= sdl
|
2002-06-08 16:31:36 +02:00
|
|
|
USE_BZIP2= yes
|
2002-09-03 04:46:49 +02:00
|
|
|
USE_GNOME= gtk12
|
2003-12-10 14:38:42 +01:00
|
|
|
USE_GL= yes
|
2002-06-08 16:31:36 +02:00
|
|
|
USE_GMAKE= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-01-23 22:59:42 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2002-07-13 20:12:12 +02:00
|
|
|
CONFIGURE_ARGS= --enable-gl
|
|
|
|
|
- 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
|
|
|
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
2002-07-13 20:12:12 +02:00
|
|
|
|
|
|
|
post-patch:
|
2005-06-02 22:28:41 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
|
|
|
|
${WRKSRC}/configure
|
2002-07-13 20:12:12 +02:00
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|[(]prefix[)]/Xtheater|(libdir)/Xtheater|g ; \
|
|
|
|
s|-release.*$$|-module -avoid-version|g'
|
|
|
|
@${REINPLACE_CMD} -e 's|PREFIX/Xtheater|PREFIX/lib/Xtheater|g' \
|
|
|
|
${WRKSRC}/Xtheater.conf
|
|
|
|
.for file in plugins/player/smpeg/glscreen.c plugins/player/wm/glscreen.c
|
|
|
|
@${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' ${WRKSRC}/${file}
|
|
|
|
.endfor
|
2002-06-08 16:31:36 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|