aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmms-midi/Makefile
blob: 710919dbd3cd689a9899cb6a447ffd087b5f8137 (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
# New ports collection makefile for:    xmms-midi
# Date created:     2002-10-14
# Whom:         Hendrik Scholz <hendrik@scholz.net>
#
# $FreeBSD$

PORTNAME=   xmms-midi
PORTVERSION=    0.03
PORTREVISION=   4
CATEGORIES= audio
MASTER_SITES=   http://dl.fkb.wormulon.net/xmms-midi/ \
        http://dl.kel.wormulon.net/xmms-midi/

MAINTAINER= ports@FreeBSD.org
COMMENT=    XMMS input plugin to play midi files

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

USE_GNOME=  gtk12
USE_X_PREFIX=   yes
USE_AUTOTOOLS=  libtool:15
USE_GMAKE=  yes

PLIST_FILES=    lib/xmms/Input/libmid.a \
        lib/xmms/Input/libmid.la \
        lib/xmms/Input/libmid.so

post-patch:
    ${REINPLACE_CMD} -e "s,/xmms/Input,/lib/xmms/Input,; \
    s,_LDFLAGS =,_LDFLAGS = -module -export-dynamic -avoid-version," \
    ${WRKSRC}/Makefile.in

.include <bsd.port.mk>