freebsd-ports/sysutils/backupchecker/Makefile
Ganael LAPLANCHE df0538693a Update to 1.3
2015-03-06 19:51:30 +00:00

37 lines
830 B
Makefile

# Created by: Ganael Laplanche <ganael.laplanche@martymac.org>
# $FreeBSD$
PORTNAME= backupchecker
PORTVERSION= 1.3
CATEGORIES= sysutils archivers
MAINTAINER= martymac@FreeBSD.org
COMMENT= Fully automated backup checker
LICENSE= GPLv3
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME}
GH_PROJECT= ${PORTNAME}
GH_COMMIT= b3e9d16
GH_TAGNAME= ${PORTVERSION}
USES= python:3.3+
USE_PYTHON= distutils noegginfo
# XXX Handle UTF-8 '(c)' character within setup.py's header
MAKE_ENV+= LC_ALL=en_US.UTF-8
PLIST_SUB+= PYTHON_SUFFIX=${PYTHON_SUFFIX} \
PYDISTUTILS_EGGINFO=${PYDISTUTILS_EGGINFO}
PORTDOCS= README.md
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>