fbd0197639
- Update audio/sdl_mixer to 1.2.15 - Update graphics/sdl_image to 1.2.12 - Update graphics/sdl_ttf to 2.0.11 - Update graphics/sdl_gfx to 2.0.23 - Update net/sdl_net to 1.2.8 - Bump PORTREVISIONs on ports that depend on one or more packages due to ABI and shared library version changes - Update Mk/bsd.sdl.mk accordingly for the new shared library versions Tested by: exp-run by pav
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: xtheater
|
|
# Date created: Jun 7, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xtheater
|
|
PORTVERSION= 1.0.0.p1
|
|
PORTREVISION= 8
|
|
PORTEPOCH= 1
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= SF/${PORTNAME}/Xtheater/1.0.0-pre1
|
|
DISTNAME= Xtheater-${PORTVERSION:S/.p/-pre/}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= MPEG-1 player in GTK+ capable of playing MPEG-1 format streams
|
|
|
|
LIB_DEPENDS= smpeg.1:${PORTSDIR}/multimedia/smpeg
|
|
|
|
USE_AUTOTOOLS= libtool
|
|
USE_SDL= sdl
|
|
USE_BZIP2= yes
|
|
USE_GNOME= gtk12
|
|
USE_GL= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-gl
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
|
|
${WRKSRC}/configure
|
|
@${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
|
|
|
|
.include <bsd.port.mk>
|