aboutsummaryrefslogtreecommitdiff
path: root/audio/goobox/Makefile
blob: a737305b45ce398cbfb53e50be3414bf31181bfd (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
# 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.15 2006/04/13 07:52:30 bland Exp $
#

PORTNAME=	goobox
PORTVERSION=	0.9.93
PORTREVISION=	3
CATEGORIES=	audio gnome
MASTER_SITES=	${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR=	sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DIST_SUBDIR=	gnome2

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

RUN_DEPENDS=	cddb-slave2-properties:${PORTSDIR}/audio/gnome-media

USE_X_PREFIX=	yes
USE_GETTEXT=	yes
USE_BZIP2=	yes
USE_GMAKE=	yes
USE_GNOME=	gnomeprefix gnomehack intlhack libgnomeui libglade2 libbonobo \
		gnomedocutils
USE_GSTREAMER80=	cdparanoia gconf
GNU_CONFIGURE=	yes
INSTALLS_OMF=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

GCONF_SCHEMAS=	goobox.schemas

OPTIONS=	NOTIFY "Enable libnotify support" on

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=	does not build on 4.X
.endif

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

.include <bsd.port.post.mk>