mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
51 lines
1.3 KiB
Makefile
51 lines
1.3 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= 3
|
|
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
|
|
PLIST_FILES= lib/xmms/Input/libavixmms.so
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_SDL= sdl
|
|
USE_GNOME= gtk12
|
|
USE_REINPLACE= yes
|
|
USE_AUTOTOOLS= libtool:15:inc
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-win32-path=${LOCALBASE}/lib/win32
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 502126
|
|
BROKEN= "Does not compile on FreeBSD >= 5.x"
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|-lc_r|${PTHREAD_LIBS}|g" ${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 ${X11BASE}/lib/xmms/Input
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/libavixmms.so ${PREFIX}/lib/xmms/Input
|
|
|
|
.include <bsd.port.post.mk>
|