2001-03-20 02:32:42 +00: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 18:28:21 +00:00
|
|
|
PORTVERSION= 1.2.3
|
2007-05-19 20:36:56 +00:00
|
|
|
PORTREVISION= 6
|
2002-11-21 19:41:04 +00:00
|
|
|
CATEGORIES= multimedia
|
2001-03-20 02:32:42 +00: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 07:34:22 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:00:52 +00:00
|
|
|
COMMENT= An avifile based .avi and .asf file playback plugin for XMMS
|
2001-03-20 02:32:42 +00:00
|
|
|
|
2003-09-08 00:10:16 +00:00
|
|
|
LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms
|
2001-03-20 02:32:42 +00:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
2003-12-07 16:30:31 +00:00
|
|
|
|
|
|
|
USE_GNOME= gtk12
|
2007-07-11 16:38:55 +00:00
|
|
|
USE_SDL= sdl
|
2003-12-07 16:30:31 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2003-01-23 18:28:21 +00:00
|
|
|
CONFIGURE_ARGS= --with-win32-path=${LOCALBASE}/lib/win32
|
2007-07-11 16:38:55 +00:00
|
|
|
USE_LDCONFIG= yes
|
2001-03-20 02:32:42 +00:00
|
|
|
|
2007-07-11 16:38:55 +00:00
|
|
|
PLIST_FILES= lib/xmms/Input/libavixmms.so
|
2007-07-03 09:32:56 +00:00
|
|
|
|
2003-12-07 16:30:31 +00:00
|
|
|
post-patch:
|
2007-03-29 11:32:59 +00:00
|
|
|
@${REINPLACE_CMD} \
|
|
|
|
-e "s|-lc_r|${PTHREAD_LIBS}|g" \
|
|
|
|
-e '/objformat=/s|=.*|=elf|' \
|
|
|
|
${WRKSRC}/configure
|
2003-12-07 16:30:31 +00:00
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|-march=i586|@CXXFLAGS@|g ; \
|
|
|
|
s|-O2||g ; \
|
|
|
|
s|$$(CC_OPTS)|@CFLAGS@|g'
|
2001-03-20 02:32:42 +00: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
|
|
|
|
|
2007-07-11 16:38:55 +00:00
|
|
|
.include <bsd.port.mk>
|