pkgsrc/sysutils/rdiff-backup/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

28 lines
825 B
Makefile

# $NetBSD: Makefile,v 1.54 2018/07/04 13:40:38 jperkin Exp $
DISTNAME= rdiff-backup-1.2.8
PKGREVISION= 8
CATEGORIES= sysutils net
MASTER_SITES= http://savannah.nongnu.org/download/rdiff-backup/
MAINTAINER= snj@NetBSD.org
HOMEPAGE= http://www.nongnu.org/rdiff-backup/
COMMENT= Remote incremental backup utility
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 37 # not yet ported as of 1.2.8
SUBST_CLASSES+= path
SUBST_STAGE.path= pre-configure
SUBST_FILES.path= setup.py
SUBST_SED.path= -e "s|share/man|${PKGMANDIR}|"
SUBST_MESSAGE.path= Fixing path to manpages.
post-install:
${INSTALL_DATA} ${WRKSRC}/examples.html \
${DESTDIR}${PREFIX}/share/doc/${DISTNAME}
.include "../../net/librsync/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"