2000-12-23 16:32:44 +01:00
|
|
|
# New ports collection makefile for: xmms-crossfade
|
|
|
|
# Date created: 21 September 2000
|
|
|
|
# Whom: Espen Skoglund <esk@ira.uka.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2006-04-30 18:57:02 +02:00
|
|
|
PORTNAME= crossfade
|
2006-07-16 11:22:53 +02:00
|
|
|
PORTVERSION= 0.3.11
|
2000-12-23 16:32:44 +01:00
|
|
|
CATEGORIES= audio
|
2006-07-31 00:46:04 +02:00
|
|
|
MASTER_SITES= http://www.eisenlohr.org/xmms-crossfade/ CSME
|
2006-04-30 18:57:02 +02:00
|
|
|
PKGNAMEPREFIX= ${APP}-
|
|
|
|
DISTNAME= xmms-${PORTNAME}-${PORTVERSION}
|
2000-12-23 16:32:44 +01:00
|
|
|
|
2006-05-08 23:41:11 +02:00
|
|
|
MAINTAINER= infofarmer@FreeBSD.org
|
2006-04-30 18:57:02 +02:00
|
|
|
COMMENT= A Crossfading/Gapless Plugin
|
2000-12-23 16:32:44 +01:00
|
|
|
|
2006-04-30 18:57:02 +02:00
|
|
|
LIB_DEPENDS?= xmms.4:${PORTSDIR}/multimedia/xmms
|
2000-12-23 16:32:44 +01:00
|
|
|
|
2006-05-01 11:36:57 +02:00
|
|
|
USE_GCC= 3.4+
|
2000-12-23 16:32:44 +01:00
|
|
|
USE_X_PREFIX= yes
|
2006-04-30 18:57:02 +02:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
APP?= xmms
|
|
|
|
PLUGDIR?= lib/${APP}/Output
|
|
|
|
PORTDOCS= README
|
|
|
|
PLIST_FILES= ${PLUGDIR}/libcrossfade.so
|
|
|
|
DOCSDIR?= ${PREFIX}/share/doc/${UNIQUENAME}
|
|
|
|
CONFIGURE_ARGS+= --enable-player=${APP}
|
2004-11-21 19:43:38 +01:00
|
|
|
|
2006-04-30 18:57:02 +02:00
|
|
|
.ifndef WITHOUT_SAMPLERATE
|
|
|
|
LIB_DEPENDS+= samplerate.1:${PORTSDIR}/audio/libsamplerate
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
CONFIGURE_ARGS+=--enable-samplerate
|
|
|
|
.endif
|
2000-12-23 16:32:44 +01:00
|
|
|
|
2006-04-30 18:57:02 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/.libs/libcrossfade.so ${PREFIX}/${PLUGDIR}
|
|
|
|
.ifndef NOPORTDOCS
|
|
|
|
${INSTALL_DATA} -d -m 555 ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
|
|
|
|
.endif
|
2001-05-19 21:28:29 +02:00
|
|
|
|
2000-12-23 16:32:44 +01:00
|
|
|
.include <bsd.port.mk>
|