aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmms-jackasyn/Makefile
blob: 61b43c17c352a3929e8205a16a2a5ead6147df55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:    xmms-jackasyn
# Date created:     2006-03-09
# Whom:         Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
#
# $FreeBSD$
#

PORTNAME=   jackasyn
PORTVERSION=    0.3
CATEGORIES= audio
MASTER_SITES=   http://gige.xdv.org/libjackasyn/download/
PKGNAMEPREFIX=  xmms-
DISTNAME=   ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}

MAINTAINER= acardenas@bsd.org.pe
COMMENT=    XMMS plugin for jack using libjackasyn

LIB_DEPENDS=    xmms.4:${PORTSDIR}/multimedia/xmms \
        jackasyn.0:${PORTSDIR}/audio/libjackasyn

USE_X_PREFIX=   yes
USE_GNOME=  gtk12 gnometarget
USE_GMAKE=  yes
GNU_CONFIGURE=  yes

LDFLAGS+=   -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
CXXFLAGS+=  -I${LOCALBASE}/include -I${X11BASE}/include
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CXXFLAGS}"

SUB_FILES=  pkg-message
PLIST_FILES=    lib/xmms/Output/libjackxmms.so

post-patch:
    @${REINPLACE_CMD} -e 's|OSS Driver configuration|Jackasyn Driver configuration|g' ${WRKSRC}/configure.c

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/.libs/libjackxmms.so \
        ${PREFIX}/lib/xmms/Output/libjackxmms.so

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>