View | Details | Raw Unified | Return to bug 246328 | Differences between
and this patch

Collapse All | Expand All

(-)net-p2p/nicotine-plus/Makefile (-58 / +14 lines)
Lines 1-68 Link Here
1
# Created by: Adam Weinberger <adamw@FreeBSD.org>
2
# $FreeBSD$
1
# $FreeBSD$
3
2
4
PORTNAME=	plus
3
PORTNAME=	nicotine-plus
5
PORTVERSION=	1.2.16
4
PORTVERSION=	2.0.1
6
CATEGORIES=	net-p2p
5
CATEGORIES=	net-p2p
7
MASTER_SITES=	SF/nicotine-${PORTNAME}/nicotine-${PORTNAME}/${PORTVERSION}
6
MASTER_SITES=	https://github.com/Nicotine-Plus/nicotine-plus/releases/download/${PORTVERSION}/
8
PKGNAMEPREFIX=	nicotine-
7
DISTNAME=	nicotine-${PORTVERSION}
9
DISTNAME=	${PKGNAMEPREFIX:S/-/+/}-${PORTVERSION}
10
8
11
MAINTAINER=	acm@FreeBSD.org
9
MAINTAINER=	menelkir@itroll.org
12
COMMENT=	A fork of nicotine soulseek client
10
COMMENT=	Soulseek client
13
11
14
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}bsddb>0:${PORTSDIR}/databases/py-bsddb
12
LICENSE=	GPLv3
13
LICENSE_FILE=   ${WRKSRC}/COPYING
15
14
16
CONFLICTS=	nicotine-[0-9]*
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR} \
17
BROKEN=		does not build
16
		${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR} \
17
		${PYTHON_PKGNAMEPREFIX}miniupnpc>0:net/py-miniupnpc@${PY_FLAVOR} \
18
18
19
USE_BZIP2=		yes
19
USES=           python:3.7+ gnome
20
USE_GNOME=		pygtk2
21
USE_PYTHON=		yes
22
USE_PYDISTUTILS=	yes
23
USES=		gettext
24
PYDISTUTILS_PKGNAME=	nicotine
25
20
26
DOCSDIR=	share/doc/${PKGNAMEPREFIX:S/-//}
21
USE_GNOME=	gtk30
27
DATADIR=	share/${PKGNAMEPREFIX:S/-//}
22
USE_PYTHON=	distutils
28
MAN1=		nicotine-import-winconfig.1 nicotine.1
29
23
30
OPTIONS_DEFINE=	GEOIP PSYCO MUTAGEN LIBSEXY MINIUPNPC DOCS
31
OPTIONS_DEFINE_i386=	PSYCO
32
OPTIONS_DEFAULT=	GEOIP PSYCO MUTAGEN LIBSEXY MINIUPNPC
33
GEOIP_DESC=	Enable the GeoIP based country code blocker
34
PSYCO_DESC=	Enable Psyco, the optimizing Python compiler
35
MUTAGEN_DESC=	Enable Mutagen for audio metadata support
36
LIBSEXY_DESC=	Enable libsexy support
37
MINIUPNPC_DESC=	Enable upnp support
38
39
.include <bsd.port.options.mk>
40
41
.if ${PORT_OPTIONS:MGEOIP}
42
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/GeoIP.so:${PORTSDIR}/net/py-GeoIP
43
.endif
44
.if ${PORT_OPTIONS:MPSYCO}
45
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/psyco/_psyco.so:${PORTSDIR}/devel/py-psyco
46
.endif
47
.if ${PORT_OPTIONS:MMUTAGEN}
48
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/mutagen/__init__.py:${PORTSDIR}/audio/py-mutagen
49
.endif
50
.if ${PORT_OPTIONS:MLIBSEXY}
51
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/gtk-2.0/sexy.so:${PORTSDIR}/x11-toolkits/py-sexy
52
.endif
53
.if ${PORT_OPTIONS:MMINIUPNPC}
54
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/miniupnpc.so:${PORTSDIR}/net/py-miniupnpc
55
.endif
56
57
post-extract:
58
	@${MV} ${WRKSRC}/${PKGNAMEPREFIX:S/-//}.py ${WRKSRC}/${PKGNAMEPREFIX:S/-//}
59
60
post-patch:
61
.if ! ${PORT_OPTIONS:MDOCS}
62
	@${REINPLACE_CMD} -i "" -e 's|^doc_files.*|doc_files = ""|g' ${WRKSRC}/setup.py
63
.endif
64
	@${REINPLACE_CMD} -e \
65
		"s|sys\.prefix|\"${PREFIX}\"|g" -e \
66
			"s|nicotine.py|nicotine|g" ${WRKSRC}/setup.py
67
68
.include <bsd.port.mk>
24
.include <bsd.port.mk>
(-)net-p2p/nicotine-plus/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (nicotine+-1.2.16.tar.bz2) = 71e5b33e273daaf072dbf63839536c14d7ead9d149323d50eee09f7429e34c1d
1
TIMESTAMP = 1596223153
2
SIZE (nicotine+-1.2.16.tar.bz2) = 3892006
2
SHA256 (nicotine-2.0.1.tar.gz) = 73cd135d0022ef65140427eb5d4741798733f45443e6a3d76178b0f2f33d8107
3
SIZE (nicotine-2.0.1.tar.gz) = 2017913
(-)net-p2p/nicotine-plus/pkg-descr (-3 / +3 lines)
Lines 1-7 Link Here
1
Nicotine-Plus is a fork of Hyriand's original Nicotine Soulseek client.
1
Nicotine-Plus is a fork of Hyriand's original Nicotine Soulseek client.
2
2
3
Nicotine+ is an attempt to keep Nicotine working with the latest libraries, 
3
Nicotine+ is an attempt to keep Nicotine working with the latest libraries,
4
kill bugs, keep current with the Soulseek protocol and add some new features 
4
kill bugs, keep current with the Soulseek protocol and add some new features
5
that users want and/or need. The main developer now is daelstorm.
5
that users want and/or need. The main developer now is daelstorm.
6
6
7
WWW:	http://nicotine-plus.sourceforge.net/
7
WWW: https://github.com/Nicotine-Plus/nicotine-plus

Return to bug 246328