pkgsrc-wip/nicotine+/Makefile
Thomas Klausner 53cae12b32 Remove USE_DIRS from pkgsrc.
Shared directories can now be created independently by the pacakges
needing them and will be removed automatically by pkg_delete when empty.

Packages needing empty directories can use the @pkgdir command in PLIST.

Discussed and ok'd in thread starting at
http://mail-index.netbsd.org/tech-pkg/2009/06/30/msg003546.html
2009-07-22 09:53:10 +00:00

35 lines
1,009 B
Makefile

# $NetBSD: Makefile,v 1.14 2009/07/22 09:53:14 thomasklausner 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_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"