aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmms-defx/Makefile
blob: 94194d4871ec6f4679664735cf0160576a479ab0 (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
# New ports collection makefile for:    audio/xmms-defx
# Date created:         7 Jun 2005
# Whom:             Alejandro Pulver <alejandro@varnet.biz>
#
# $FreeBSD$
#

PORTNAME=   xmms-defx
PORTVERSION=    0.9.9
PORTREVISION=   4
CATEGORIES= audio
MASTER_SITES=   SF/defx/defx/${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Multi-effects processor plug-in for XMMS

LIB_DEPENDS=    xmms.4:${PORTSDIR}/multimedia/xmms

USE_GMAKE=  yes
USE_GNOME=  gtk12

PLIST_FILES=    lib/xmms/Effect/libdefx.so

post-patch:
    @${REINPLACE_CMD} -e 's|^MAKE=.*||; s|gcc|${CC}|; s|-O2|${CFLAGS} -fPIC|; \
        s|gtk-config|${GTK_CONFIG}|' ${WRKSRC}/config.mak
    @${REINPLACE_CMD} -e 's|-shared|-shared -fPIC|' ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/lib/libdefx.so ${PREFIX}/lib/xmms/Effect

.include <bsd.port.mk>