pkgsrc/net/bittorrent/Makefile
wiz aada88e659 Remove python24 and all traces of it from pkgsrc.
Remove devel/py-ctypes (only needed by and supporting python24).
Remove PYTHON_VERSIONS_ACCEPTED and PYTHON_VERSIONS_INCOMPATIBLE
lines that just mirror defaults now.
Miscellaneous cleanup while editing all these files.
2012-04-08 19:08:44 +00:00

35 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.44 2012/04/08 19:09:08 wiz Exp $
PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
PKGNAME= ${DISTNAME:S/BitT/bitt/}
PKGREVISION= 6
CONFLICTS+= bittornado-[0-9]*
CONFLICTS+= BitTornado-[0-9]*
DEPENDS+= ${PYPKGPREFIX}-cursespanel-[0-9]*:../../devel/py-cursespanel
USE_TOOLS+= msgfmt xgettext msgmerge
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/"
.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"