pkgsrc/net/bittornado-gui/Makefile

29 lines
829 B
Makefile

# $NetBSD: Makefile,v 1.34 2017/01/01 14:43:49 wiz Exp $
.include "../../net/bittornado/Makefile.common"
PKGNAME= ${DISTNAME:S/Tornado/Tornado-gui/}
PKGREVISION= 11
COMMENT+= (wxGTK GUI)
CONFLICTS= bittorrent-gui-[0-9]*
DEPENDS+= BitTornado>=0.3.18:../../net/bittornado
DEPENDS+= ${PYPKGPREFIX}-wxWidgets-[0-9]*:../../x11/py-wxWidgets
NO_BUILD= yes
REPLACE_PYTHON= btcompletedirgui.py btdownloadgui.py
REPLACE_PYTHON+= btmaketorrentgui.py
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # py-wxWidgets
INSTALLATION_DIRS= bin
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/btcompletedirgui.py ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/btdownloadgui.py ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/btmaketorrentgui.py ${DESTDIR}${PREFIX}/bin
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"