41 lines
1,012 B
Makefile
41 lines
1,012 B
Makefile
# Created by: David Yeske <dyeske@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xmms-jack
|
|
PORTVERSION= 0.19
|
|
PORTREVISION= 1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= XMMS plugin for jack
|
|
|
|
LIB_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms \
|
|
jack:${PORTSDIR}/audio/jack \
|
|
samplerate:${PORTSDIR}/audio/libsamplerate
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
USE_GNOME= gtk12
|
|
USES= gmake pkgconfig
|
|
USE_AUTOTOOLS= libtool
|
|
|
|
PLIST_FILES= lib/xmms/Output/libjackout.so
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
|
s|-ldl||g' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e 's|jack_free|jack_free_local|g' \
|
|
${WRKSRC}/jack.c
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}/${PREFIX}/lib/xmms/Output
|
|
${INSTALL_PROGRAM} ${WRKSRC}/.libs/libjackout.so \
|
|
${STAGEDIR}/${PREFIX}/lib/xmms/Output
|
|
|
|
.include <bsd.port.post.mk>
|