2010-02-10 20:17:31 +01:00
|
|
|
# $NetBSD: Makefile,v 1.40 2010/02/10 19:17:43 joerg Exp $
|
2008-06-12 04:14:13 +02:00
|
|
|
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2003-05-09 20:07:01 +02:00
|
|
|
|
2004-03-03 11:02:08 +01:00
|
|
|
.include "Makefile.common"
|
2003-05-09 20:07:01 +02:00
|
|
|
|
2004-03-03 11:02:08 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/BitT/bitt/}
|
2010-02-10 20:17:31 +01:00
|
|
|
PKGREVISION= 4
|
2003-05-09 20:07:01 +02:00
|
|
|
|
2005-09-30 16:05:38 +02:00
|
|
|
PYDISTUTILSPKG= yes
|
2003-05-09 20:07:01 +02:00
|
|
|
|
2005-08-06 12:55:06 +02:00
|
|
|
CONFLICTS+= bittornado-[0-9]*
|
2006-01-24 15:03:39 +01:00
|
|
|
CONFLICTS+= BitTornado-[0-9]*
|
2005-08-06 12:55:06 +02:00
|
|
|
|
2005-08-07 18:15:55 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2004-03-17 20:27:42 +01:00
|
|
|
.include "../../lang/python/application.mk"
|
2003-05-13 03:25:24 +02:00
|
|
|
.include "../../lang/python/extension.mk"
|
2009-11-21 20:28:34 +01:00
|
|
|
|
|
|
|
.if ${PYVERSSUFFIX} != "2.4"
|
|
|
|
SUBST_CLASSES+= sha
|
|
|
|
SUBST_MESSAGE.sha= Fixing references to deprecated sha module.
|
|
|
|
SUBST_STAGE.sha= pre-configure
|
|
|
|
SUBST_FILES.sha= BitTorrent/ConvertedMetainfo.py
|
|
|
|
SUBST_FILES.sha+= BitTorrent/NewVersion.py
|
|
|
|
SUBST_FILES.sha+= BitTorrent/PeerID.py
|
|
|
|
SUBST_FILES.sha+= BitTorrent/StorageWrapper.py
|
|
|
|
SUBST_FILES.sha+= BitTorrent/download.py
|
|
|
|
SUBST_FILES.sha+= BitTorrent/makemetafile.py
|
|
|
|
SUBST_FILES.sha+= BitTorrent/parsedir.py
|
|
|
|
SUBST_FILES.sha+= khashmir/khash.py
|
|
|
|
SUBST_FILES.sha+= khashmir/khashmir.py
|
|
|
|
SUBST_FILES.sha+= khashmir/utkhashmir.py
|
|
|
|
SUBST_FILES.sha+= torrentinfo-console.py
|
|
|
|
SUBST_SED.sha= -e "s/^from sha import .*/from hashlib import sha1 as sha/"
|
|
|
|
.endif
|
|
|
|
|
2004-04-27 05:43:53 +02:00
|
|
|
.include "../../devel/py-cursespanel/buildlink3.mk"
|
2003-05-09 20:07:01 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|