2001-03-20 03:32:42 +01:00
|
|
|
# Ports collection makefile for: xmms-avi
|
|
|
|
# Date created: Feb 6 2000
|
|
|
|
# Whom: Roman Shterenzon <roman@xpert.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xmms-avi
|
2003-01-23 19:28:21 +01:00
|
|
|
PORTVERSION= 1.2.3
|
2002-11-21 20:41:04 +01:00
|
|
|
CATEGORIES= multimedia
|
2001-03-20 03:32:42 +01:00
|
|
|
MASTER_SITES= http://www.xmms.org/files/plugins/avi-xmms/ \
|
|
|
|
ftp://ftp.sunet.se/pub/multimedia/xmms/plugins/avi-xmms/ \
|
|
|
|
ftp://ftp.fu-berlin.de/unix/sound/xmms/plugins/avi-xmms/
|
|
|
|
DISTNAME= avi-xmms-${PORTVERSION}
|
|
|
|
|
2002-12-11 08:34:22 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= An avifile based .avi and .asf file playback plugin for XMMS
|
2001-03-20 03:32:42 +01:00
|
|
|
|
2003-09-08 02:10:16 +02:00
|
|
|
LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms
|
2001-03-20 03:32:42 +01:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
2003-01-23 19:28:21 +01:00
|
|
|
USE_REINPLACE= yes
|
2001-03-20 03:32:42 +01:00
|
|
|
USE_X_PREFIX= yes
|
2002-09-03 04:46:49 +02:00
|
|
|
USE_GNOME= gtk12
|
2001-03-20 03:32:42 +01:00
|
|
|
USE_LIBTOOL= yes
|
2003-07-27 20:42:37 +02:00
|
|
|
USE_SDL= yes
|
2003-01-23 19:28:21 +01:00
|
|
|
CONFIGURE_ARGS= --with-win32-path=${LOCALBASE}/lib/win32
|
2001-03-20 03:32:42 +01:00
|
|
|
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}"
|
|
|
|
|
2003-06-05 00:43:38 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2001-03-20 03:32:42 +01:00
|
|
|
pre-patch:
|
2003-01-23 19:28:21 +01:00
|
|
|
@${REINPLACE_CMD} -e "s|SDL/SDL.h|SDL11/SDL.h|g" ${WRKSRC}/src/ctrackbar.cpp
|
2003-07-27 20:42:37 +02:00
|
|
|
@${REINPLACE_CMD} -e "s|-lc_r|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
|
2001-03-20 03:32:42 +01:00
|
|
|
|
|
|
|
# This is to avoid libtool running ldconfig -m ${X11BASE}/lib/xmms/Input
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/libavixmms.so ${PREFIX}/lib/xmms/Input
|
|
|
|
|
2003-05-18 11:55:25 +02:00
|
|
|
.include <bsd.port.post.mk>
|