freebsd-ports/sysutils/backupchecker/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

31 lines
629 B
Makefile

# Created by: Ganael Laplanche <ganael.laplanche@martymac.org>
# $FreeBSD$
PORTNAME= backupchecker
PORTVERSION= 1.9
CATEGORIES= sysutils archivers
PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX}
MAINTAINER= martymac@FreeBSD.org
COMMENT= Fully automated backup checker
LICENSE= GPLv3
NO_ARCH= yes
USES= python:3.3+
USE_GITHUB= yes
USE_PYTHON= autoplist distutils
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} "s|'share','man'|'${MANPREFIX}/man'|" ${WRKSRC}/setup.py
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>