pkgsrc-wip/nicotine+/Makefile
Tobias Nygren 3c6264d4e6 Mechanical sweep to sanitise PYTHON_VERSIONS_ACCEPTED.
Bulk build will be used to tune this further.
2008-05-22 15:38:46 +00:00

36 lines
1,018 B
Makefile

# $NetBSD: Makefile,v 1.13 2008/05/22 15:38:46 tnn2 Exp $
#
DISTNAME= nicotine+-1.2.9
CATEGORIES= net audio x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nicotine-plus/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= jfranz@bsdprojects.net
HOMEPAGE= http://www.nicotine-plus.org/
COMMENT= Client for the SoulSeek, a peer-to-peer network for music
CONFLICTS= nicotine-[0-9]*
USE_DIRS+= xdg-1.4
USE_LANGUAGES= # none
DEPENDS+= ${PYPKGPREFIX}-vorbis>=0:../../audio/py-vorbis
.if ${MACHINE_ARCH} == "i386"
DEPENDS+= ${PYPKGPREFIX}-psyco>=0:../../lang/py-psyco
.endif
DEPENDS+= ${PYPKGPREFIX}-GeoIP>=0:../../net/py-GeoIP
PY_PATCHPLIST= yes
PYDISTUTILSPKG= yes
REPLACE_PYTHON= pynicotine/gtkgui/glade2py.py
SUBST_CLASSES+= man
SUBST_STAGE.man= post-patch
SUBST_FILES.man= setup.py
SUBST_SED.man= -e 's|"share", "man",|"man",|g'
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"