pkgsrc/net/monotorrent/Makefile
jperkin 5393242c73 *: Move SUBST_STAGE from post-patch to pre-configure
Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
2018-07-04 13:40:07 +00:00

24 lines
654 B
Makefile

# $NetBSD: Makefile,v 1.26 2018/07/04 13:40:28 jperkin Exp $
DISTNAME= monotorrent-0.72
PKGREVISION= 19
CATEGORIES= net
MASTER_SITES= http://projects.qnetp.net/attachments/download/13/
MAINTAINER= kefren@NetBSD.org
HOMEPAGE= http://monotorrent.com/
COMMENT= Open source bittorrent library
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= no
USE_TOOLS+= gmake bsdtar pkg-config
EXTRACT_USING= bsdtar
SUBST_CLASSES+= fix-mcs
SUBST_STAGE.fix-mcs= pre-configure
SUBST_MESSAGE.fix-mcs= Fix compiler name
SUBST_FILES.fix-mcs= configure MonoTorrent/Makefile.in
SUBST_SED.fix-mcs= -e 's,gmcs,mcs,'
.include "../../lang/mono/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"