1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/multimedia/xmms-avi/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

47 lines
1.2 KiB
Makefile

# Ports collection makefile for: xmms-avi
# Date created: Feb 6 2000
# Whom: Roman Shterenzon <roman@xpert.com>
#
# $FreeBSD$
#
PORTNAME= xmms-avi
PORTVERSION= 1.2.3
PORTREVISION= 8
CATEGORIES= multimedia
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}
MAINTAINER= ports@FreeBSD.org
COMMENT= An avifile based .avi and .asf file playback plugin for XMMS
LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms
ONLY_FOR_ARCHS= i386
USE_GNOME= gtk12
USE_SDL= sdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-win32-path=${LOCALBASE}/lib/win32
USE_LDCONFIG= yes
PLIST_FILES= lib/xmms/Input/libavixmms.so
post-patch:
@${REINPLACE_CMD} \
-e "s|-lc_r|${PTHREAD_LIBS}|g" \
-e '/objformat=/s|=.*|=elf|' \
${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|-march=i586|@CXXFLAGS@|g ; \
s|-O2||g ; \
s|$$(CC_OPTS)|@CFLAGS@|g'
# This is to avoid libtool running ldconfig -m ${LOCALBASE}/lib/xmms/Input
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/libavixmms.so ${PREFIX}/lib/xmms/Input
.include <bsd.port.mk>