aboutsummaryrefslogtreecommitdiffstats
path: root/audio/goobox/Makefile
blob: f9d982562e0b94f169fe964b927aee0e03c55337 (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
45
46
47
48
49
50
51
52
53
# New ports collection makefile for:    guikachu
# Date created:     11 Nov 2004
# Whom:         Alexander Nedotsukov <bland@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/audio/goobox/Makefile,v 1.25 2007/08/15 03:03:09 mezz Exp $
#

PORTNAME=   goobox
PORTVERSION=    2.2.0
CATEGORIES= audio gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    CD player and ripper for GNOME Desktop environment

BUILD_DEPENDS=  ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme
LIB_DEPENDS=    discid.0:${PORTSDIR}/audio/libdiscid \
        musicbrainz3.6:${PORTSDIR}/audio/libmusicbrainz3 \
        brasero-media.3:${PORTSDIR}/sysutils/brasero \
        unique-1.0.2:${PORTSDIR}/x11-toolkits/unique
RUN_DEPENDS=    ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme

USE_XORG=   x11
USE_GETTEXT=    yes
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GNOME=  gnomeprefix gnomehack intlhack gtk20 gconf2 desktopfileutils
USE_GSTREAMER=  cdparanoia gconf core gio
GNU_CONFIGURE=  yes
INSTALLS_OMF=   yes
INSTALLS_ICONS= yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

GCONF_SCHEMAS=  goobox.schemas

OPTIONS=    NOTIFY "Enable libnotify support" on

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_NOTIFY)
LIB_DEPENDS+=       notify.4:${PORTSDIR}/devel/libnotify
CONFIGURE_ARGS+=    --enable-notification
.else
CONFIGURE_ARGS+=    --disable-notification
.endif

post-install:
    @-update-desktop-database

.include <bsd.port.post.mk>