aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmms-osssurround/Makefile
blob: 2b35eaf69da2520ded9aa3b4851b0fddf2d27694 (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
# Created by: Amar Takhar <verm@drunkmonk.net>
# $FreeBSD$

PORTNAME=   xmms-osssurround
PORTVERSION=    0.1
PORTREVISION=   5
CATEGORIES= audio
MASTER_SITES=   SF/xmms-a52dec/xmms-a52dec/1.0
DISTNAME=   xmms-a52dec-1.0

MAINTAINER= ports@FreeBSD.org
COMMENT=    OSSSuround adds Surround Sound capabilities to XMMS

DEPRECATED= Abandonware, please consider using multimedia/audacious instead
EXPIRATION_DATE=    2014-03-23

LIB_DEPENDS=    libxmms.so:${PORTSDIR}/multimedia/xmms

USE_BZIP2=  yes
NO_STAGE=   yes
USE_CSTD=   gnu89
CFLAGS+=    -fPIC `xmms-config --cflags`

BUILD_WRKSRC=   ${WRKSRC}/OSSSurround-${PORTVERSION}

PLIST_FILES=    lib/xmms/Output/libOSSSurround.so

do-build:
    cd ${BUILD_WRKSRC} && \
     ${CC} ${CFLAGS} -c *.c && \
     ${CC} -shared -olibOSSSurround.so about.o audio.o configure.o convert.o init.o mixer.o OSS.o

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/OSSSurround-0.1/libOSSSurround.so \
        ${PREFIX}/lib/xmms/Output/

.include <bsd.port.mk>