aboutsummaryrefslogtreecommitdiffstats
path: root/audio/muine/Makefile
blob: 3330bb872c9166f5fab4fbbe374d5e66c0ca2fd9 (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:    muine
# Date created:             20040615
# Whom:             Tom McLaughlin <tmclaugh@sdf.lonestar.org>
#
# $FreeBSD$
#

PORTNAME=   muine
PORTVERSION=    0.6.3
PORTREVISION=   2
CATEGORIES= audio gnome
MASTER_SITES=   http://muine.gooeylinux.org/

MAINTAINER= tmclaugh@sdf.lonestar.org
COMMENT=    Mono based Gnome audio player

LIB_DEPENDS=    FLAC.5:${PORTSDIR}/audio/flac \
        id3tag.2:${PORTSDIR}/audio/libid3tag \
        gdbm:${PORTSDIR}/databases/gdbm
BUILD_DEPENDS=  gapi-fixup:${PORTSDIR}/x11-toolkits/gtk-sharp
RUN_DEPENDS=    ${BUILD_DEPENDS}

USE_GNOME=  gnomeprefix gnomehack intltool libgnomeui
USE_X_PREFIX=   yes
USE_LIBTOOL_VER=15
USE_REINPLACE=  yes

CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

GCONF_SCHEMAS=  muine.schemas

OPTIONS=    GSTREAMER "Enable Gstreamer backend" off

.include <bsd.port.pre.mk>

.if defined (WITH_GSTREAMER)
CONFIGURE_ARGS+= --enable-gstreamer=yes
USE_GNOME+= gstreamerplugins
.else
LIB_DEPENDS+=   xine.9:${PORTSDIR}/multimedia/libxine
.endif

.include <bsd.port.post.mk>