aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/pyslsk/Makefile
blob: a6f6d48a55f2fcbb5692d099316033411b2774d0 (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
# New ports collection makefile for:	pyslsk
# Date created:				2003-01-20
# Whom:					Stefan Ehmann <shoesoft@gmx.net>
#
# $FreeBSD$
#

PORTNAME=	pyslsk
PORTVERSION=	1.2.7b
PORTREVISION=	2
CATEGORIES=	net-p2p
MASTER_SITES=	http://www.sensi.org/~ak/pyslsk/

MAINTAINER=	shoesoft@gmx.net
COMMENT=	Client for SoulSeek filesharing system

BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/wx-2.6-gtk2-ansi/wx/__init__.py:${PORTSDIR}/x11-toolkits/py-wxPython26
RUN_DEPENDS=	${PYTHON_SITELIBDIR}/wx-2.6-gtk2-ansi/wx/__init__.py:${PORTSDIR}/x11-toolkits/py-wxPython26

.if !defined(WITHOUT_VORBIS)
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/ogg/vorbis.so:${PORTSDIR}/audio/py-vorbis
.endif

.if !defined(WITHOUT_BSDDB3)
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/bsddb3/__init__.py:${PORTSDIR}/databases/py-bsddb3
.endif

USE_PYTHON=	yes
USE_PYDISTUTILS=yes

.include <bsd.port.pre.mk>

pre-install:
.if exists(${PYTHON_SITELIBDIR}/wx/__init__.py)
BROKEN=	"pyslsk only works with py-wxPython >= 2.6, please deinstall old version first"
.endif

.include <bsd.port.post.mk>