2017-01-01 15:43:22 +01:00
|
|
|
# $NetBSD: Makefile,v 1.38 2017/01/01 14:43:49 wiz Exp $
|
2004-03-03 11:04:04 +01:00
|
|
|
|
|
|
|
.include "../../net/bittorrent/Makefile.common"
|
|
|
|
|
|
|
|
PKGNAME= ${DISTNAME:S/BitTorrent/bittorrent-gui/}
|
2012-03-15 12:53:20 +01:00
|
|
|
PKGREVISION= 12
|
2004-03-03 11:04:04 +01:00
|
|
|
|
2005-03-28 16:43:10 +02:00
|
|
|
COMMENT+= (GTK+ GUI)
|
2004-03-03 11:04:04 +01:00
|
|
|
|
2011-10-31 10:28:35 +01:00
|
|
|
DEPENDS+= bittorrent>=${PKGVERSION_NOREV}:../../net/bittorrent
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-gtk2>=2.6:../../x11/py-gtk2
|
2004-03-03 11:04:04 +01:00
|
|
|
|
2014-01-25 11:45:15 +01:00
|
|
|
REPLACE_PYTHON= bittorrent maketorrent
|
2017-01-01 15:43:22 +01:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # py-gtk2
|
2004-03-03 11:04:04 +01:00
|
|
|
|
2005-08-06 12:55:06 +02:00
|
|
|
CONFLICTS+= bittornado-gui-[0-9]*
|
|
|
|
|
2006-04-18 13:53:04 +02:00
|
|
|
ICONS_DIR= share/pixmaps/BitTorrent-${PKGVERSION:C/nb.*//}/icons
|
2006-02-26 23:43:33 +01:00
|
|
|
INSTALLATION_DIRS= bin ${ICONS_DIR} ${ICONS_DIR}/default ${ICONS_DIR}/old
|
2005-06-17 05:50:19 +02:00
|
|
|
|
2011-10-31 10:28:35 +01:00
|
|
|
NO_BUILD= yes
|
2004-03-03 11:04:04 +01:00
|
|
|
|
|
|
|
do-install:
|
2008-06-20 03:09:05 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bittorrent ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/maketorrent ${DESTDIR}${PREFIX}/bin
|
2006-02-26 23:43:33 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/images/icons/default/* \
|
2008-06-20 03:09:05 +02:00
|
|
|
${DESTDIR}${PREFIX}/${ICONS_DIR}/default
|
2006-02-26 23:43:33 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/images/icons/old/* \
|
2008-06-20 03:09:05 +02:00
|
|
|
${DESTDIR}${PREFIX}/${ICONS_DIR}/old
|
2004-03-03 11:04:04 +01:00
|
|
|
|
2004-03-17 20:27:42 +01:00
|
|
|
.include "../../lang/python/application.mk"
|
2004-03-03 11:04:04 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|