2004-04-07 21:45:33 +00:00
|
|
|
# New ports collection makefile for: xmms-jack
|
|
|
|
# Date created: 13 Mar 2004
|
2007-07-05 23:39:06 +00:00
|
|
|
# Whom: David Yeske <dyeske@gmail.com>
|
2004-04-07 21:45:33 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= jack
|
2007-01-05 08:02:23 +00:00
|
|
|
PORTVERSION= 0.17
|
2008-06-06 13:08:29 +00:00
|
|
|
PORTREVISION= 3
|
2004-04-07 21:45:33 +00:00
|
|
|
CATEGORIES= audio
|
2008-03-21 19:51:42 +00:00
|
|
|
MASTER_SITES= SF
|
2004-04-07 21:45:33 +00:00
|
|
|
MASTER_SITE_SUBDIR= xmms-jack
|
|
|
|
PKGNAMEPREFIX= xmms-
|
|
|
|
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2009-02-02 23:44:01 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-04-07 21:45:33 +00:00
|
|
|
COMMENT= XMMS plugin for jack
|
|
|
|
|
|
|
|
LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms \
|
2007-01-05 08:02:23 +00:00
|
|
|
jack.0:${PORTSDIR}/audio/jack \
|
|
|
|
samplerate.1:${PORTSDIR}/audio/libsamplerate
|
2004-04-07 21:45:33 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/xmms-jack
|
|
|
|
|
|
|
|
USE_GNOME= gtk12 gnometarget
|
|
|
|
USE_GMAKE= yes
|
2006-02-23 10:40:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2007-01-05 08:02:23 +00:00
|
|
|
USE_LDCONFIG= yes
|
2004-04-07 21:45:33 +00:00
|
|
|
|
2006-02-23 10:40:44 +00:00
|
|
|
PLIST_FILES= lib/xmms/Output/libjackout.a \
|
|
|
|
lib/xmms/Output/libjackout.la \
|
|
|
|
lib/xmms/Output/libjackout.so
|
2004-04-07 21:45:33 +00:00
|
|
|
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${RM} -rf ${WRKSRC}/.libs
|
|
|
|
@${RM} -rf ${WRKSRC}/autom4te.cache
|
|
|
|
@${RM} -rf ${WRKSRC}/libjackout.la
|
|
|
|
|
|
|
|
${REINPLACE_CMD} -e \
|
|
|
|
's|-lpthread|${PTHREAD_LIBS}|g; \
|
|
|
|
s|-ldl||' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|