summaryrefslogtreecommitdiff
path: root/net/bittornado
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-10-30 12:07:50 +0000
committerobache <obache@pkgsrc.org>2011-10-30 12:07:50 +0000
commit5883070f10c27910abe4a902b44dda295c6afc83 (patch)
treedbdd94ddc4b99b7ce741f379a67ab5fe603f9cfc /net/bittornado
parentedfc63cf877e70b3d6323e4796dd98b2ed002e49 (diff)
downloadpkgsrc-5883070f10c27910abe4a902b44dda295c6afc83.tar.gz
* No need to buildlink with python module packagse, simple DEPENDS is sufficient.
* switch to use py-crypto instead of obsolated py-amkCrypto. * register egg-info. Bump PKGREVISION.
Diffstat (limited to 'net/bittornado')
-rw-r--r--net/bittornado/Makefile13
-rw-r--r--net/bittornado/PLIST3
2 files changed, 9 insertions, 7 deletions
diff --git a/net/bittornado/Makefile b/net/bittornado/Makefile
index 6ce358ca229..b8cf5d8ebd9 100644
--- a/net/bittornado/Makefile
+++ b/net/bittornado/Makefile
@@ -1,18 +1,19 @@
-# $NetBSD: Makefile,v 1.7 2011/06/19 13:46:29 plunky Exp $
+# $NetBSD: Makefile,v 1.8 2011/10/30 12:07:50 obache Exp $
#
PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
-PKGREVISION= 3
+PKGREVISION= 4
CONFLICTS= bittorrent-[0-9]*
-PYDISTUTILSPKG= yes
+DEPENDS+= ${PYPKGPREFIX}-cursespanel-[0-9]*:../../devel/py-cursespanel
+DEPENDS+= ${PYPKGPREFIX}-crypto>=2.0:../../security/py-crypto
+
+EGG_NAME= BitTornado-T_${PKGVERSION_NOREV}._BitTornado_
.include "../../lang/python/application.mk"
-.include "../../lang/python/extension.mk"
-.include "../../devel/py-cursespanel/buildlink3.mk"
-.include "../../security/py-amkCrypto/buildlink3.mk"
+.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/bittornado/PLIST b/net/bittornado/PLIST
index 114f64fa8f7..4064867e188 100644
--- a/net/bittornado/PLIST
+++ b/net/bittornado/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2009/06/14 18:09:22 joerg Exp $
+@comment $NetBSD: PLIST,v 1.6 2011/10/30 12:07:50 obache Exp $
bin/bt-t-make.py
bin/btcompletedir.py
bin/btcopyannounce.py
@@ -12,6 +12,7 @@ bin/btrename.py
bin/btsethttpseeds.py
bin/btshowmetainfo.py
bin/bttrack.py
+${PLIST.eggfile}${PYSITELIB}/${EGG_FILE}
${PYSITELIB}/BitTornado/BT1/Choker.py
${PYSITELIB}/BitTornado/BT1/Choker.pyc
${PYSITELIB}/BitTornado/BT1/Choker.pyo