blob: 1d64ae285ec668133126cabcd7eed6c0820eb76c (
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
# New ports collection makefile for: exaile
# Date created: 19 December 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= exaile
DISTVERSION= 0.2.99.2
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://www.exaile.org/files/ \
http://wickedmachine.net/~jsa/FreeBSD/distfiles/
PKGNAMESUFFIX= -devel
DISTNAME= ${PORTNAME}_0.3.0a2
MAINTAINER= jsa@wickedmachine.net
COMMENT= AmaroK replacement for GTK+ (developmental series)
RUN_DEPENDS= py*-mutagen>=1.11:${PORTSDIR}/audio/py-mutagen
WRKSRC= ${WRKDIR}/${DISTNAME}
USE_GNOME= pygtk2
USE_GSTREAMER= python good
USE_PYTHON= 2.5+
CONFLICTS= exaile-0.2.[0-9][0-8]* exaile-0.3.*
# The reality with these options is that they all will be autodetected and used
# if already installed. These just force Exaile to bring them in as well.
OPTIONS= BAD "Install bad GStreamer plugins" On \
BDB "Install Python Berkley DB module" On \
CDDB "Lookup CD information within Exaile" On \
DBUS "Rely on Python D-Bus bindings" On \
HAL "Force depend on HAL" On \
NOTIFY "Enable desktop event notification" On \
NLS "Native Language Support" On \
SEXY "UI enhancements" On
.if !defined(WITHOUT_BAD)
USE_GSTREAMER+= bad
.endif
.if !defined(WITHOUT_BDB)
RUN_DEPENDS+= py*-bsddb>=2.5:${PORTSDIR}/databases/py-bsddb
.endif
.if !defined(WITHOUT_CDDB)
RUN_DEPENDS+= py*-cddb>=1.4:${PORTSDIR}/audio/py-cddb
.endif
.if !defined(WITHOUT_DBUS)
RUN_DEPENDS+= py*-dbus>=0.82.1:${PORTSDIR}/devel/py-dbus
.endif
.if !defined(WITHOUT_HAL)
LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
.endif
.if !defined(WITHOUT_NOTIFY)
RUN_DEPENDS+= py*-notify>=0.1.1:${PORTSDIR}/devel/py-notify
.endif
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
.endif
.if !defined(WITHOUT_SEXY)
RUN_DEPENDS+= py*-sexy>=0.1.9:${PORTSDIR}/x11-toolkits/py-sexy
.endif
post-patch:
@${REINPLACE_CMD} -e 's|PREFIX =|PREFIX \?=|;s|LIBDIR =|LIBDIR \?=|' \
-e 's|LIBDIR|LIBINSTALLDIR|g' ${WRKSRC}/Makefile
.if defined(WITHOUT_NLS)
@${REINPLACE_CMD} -e 's|exaile\.mo|SKIP_NLS_HACK|' ${WRKSRC}/Makefile
.endif
.include <bsd.port.mk>
|