aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmms-timidity/Makefile
blob: 0bf8e044ec5c00074545cbd075b30ee1ed1a9664 (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
# New ports collection makefile for:    xmms-timidity
# Date created:     2009-01-05
# Whom:         Timothy Beyer <beyert@cs.ucr.edu>
#
# $FreeBSD$

PORTNAME=   xmms-timidity
PORTVERSION=    0.0.3
PORTREVISION=   1
CATEGORIES= audio
MASTER_SITES=   http://www.shikadi.net/utils/files/

MAINTAINER= beyert@cs.ucr.edu
COMMENT=    XMMS input plugin to play midi files (via timidity)

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

USE_LDCONFIG=   ${PREFIX}/lib/xmms/Input

USE_BZIP2=  yes
USE_GNOME=  gtk12
CFLAGS+=    -I${LOCALBASE}/include `glib-config --cflags` -g -fPIC

FILES=  xmms-timidity.cpp
PLIST_FILES=    lib/xmms/Input/libxmms-timidity.so

do-build:
    (cd ${WRKSRC} && ${CXX} ${CFLAGS} -c ${FILES} -o xmms-timidity.o)

.include <bsd.port.mk>