freebsd-ports/audio/xmms-audiofile/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

37 lines
975 B
Makefile

# New ports collection makefile for: xmms-audiofile
# Date created: 4 Feb 2003
# Whom: David Yeske <dyeske@gmail.com>
#
# $FreeBSD$
#
PORTNAME= xmms-audiofile
PORTVERSION= 0.1
PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= http://www.68k.org/~michael/xmms/
MAINTAINER= ports@FreeBSD.org
COMMENT= XMMS plugin to allow playing libaudiofile supported files
LIB_DEPENDS= audiofile.0:${PORTSDIR}/audio/libaudiofile
BUILD_DEPENDS= xmms-config:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
PLIST_FILES= lib/xmms/Input/libaf.so
USE_GMAKE= yes
USE_GNOME= gtk12
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ENV= LIBS="${LIBS} ${PTHREAD_LIBS}"
CFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_CFLAGS}
post-patch:
@${REINPLACE_CMD} -e \
's|^CFLAGS =|CFLAGS = @CFLAGS@|; \
s|LIBS = @AUDIOFILE_LIBS@|LIBS = @AUDIOFILE_LIBS@ @LIBS@|' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/configure
.include <bsd.port.mk>