2013-09-20 22:57:48 +02:00
|
|
|
# Created by: ijliao
|
2002-06-08 16:31:36 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xtheater
|
2002-07-13 20:12:12 +02:00
|
|
|
PORTVERSION= 1.0.0.p1
|
2014-12-08 17:48:38 +01:00
|
|
|
PORTREVISION= 13
|
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
|
|
|
|
2015-02-22 06:09:24 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2014-05-30 21:59:28 +02:00
|
|
|
LIB_DEPENDS= libsmpeg.so:${PORTSDIR}/multimedia/smpeg
|
2002-06-08 16:31:36 +02:00
|
|
|
|
2004-01-23 22:59:42 +01:00
|
|
|
USE_SDL= sdl
|
2002-09-03 04:46:49 +02:00
|
|
|
USE_GNOME= gtk12
|
2003-12-10 14:38:42 +01:00
|
|
|
USE_GL= yes
|
2014-05-30 21:59:28 +02:00
|
|
|
USES= gmake libtool tar:bzip2
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2002-07-13 20:12:12 +02:00
|
|
|
CONFIGURE_ARGS= --enable-gl
|
|
|
|
|
2015-03-25 18:36:47 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -lpthread -L${LOCALBASE}/lib
|
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
|
|
|
|
2015-02-22 06:09:24 +01:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/Xtheater/*/*.so
|
|
|
|
|
2002-06-08 16:31:36 +02:00
|
|
|
.include <bsd.port.mk>
|