pkgsrc/net/bittorrent/Makefile

29 lines
759 B
Makefile
Raw Normal View History

2005-09-30 16:05:38 +02:00
# $NetBSD: Makefile,v 1.32 2005/09/30 14:05:38 adam Exp $
.include "Makefile.common"
PKGNAME= ${DISTNAME:S/BitT/bitt/}
2005-09-30 16:05:38 +02:00
PYDISTUTILSPKG= yes
CONFLICTS+= bittornado-[0-9]*
.include "../../mk/bsd.prefs.mk"
SUBST_CLASSES+= blibc
SUBST_STAGE.blibc= pre-configure
SUBST_FILES.blibc= BitTorrent/defaultargs.py
# Enable the 'enable_bad_libc_workaround' on BSD by default.
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" \
|| ${OPSYS} == "Darwin" || ${OPSYS} == "DragonFly"
SUBST_SED.blibc= -e s/%BSD_LIBC%/1/g
.else
SUBST_SED.blibc= -e s/%BSD_LIBC%/0/g
.endif
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
2004-04-27 05:43:53 +02:00
.include "../../devel/py-cursespanel/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"