1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/security/py-xkcdpass/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

44 lines
1004 B
Makefile

PORTNAME= xkcdpass
DISTVERSIONPREFIX= ${PORTNAME}-
DISTVERSION= 1.17.4
PORTREVISION= 1
CATEGORIES= security sysutils python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= jacob@jwfh.ca
COMMENT= Password generator as in XKCD 936
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.BSD
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR}
USES= python:3.6+
USE_GITHUB= yes
GH_ACCOUNT= jwfh
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
PLIST_FILES= ${_MAN_FILES:S|^|man/man1/|:S|$|.gz|}
OPTIONS_DEFINE= DOCS
DOCS_PLIST_FILES= ${_README_FILES:S|^|${DOCSDIR_REL}/|}
_MAN_FILES= ${PORTNAME}.1
_README_FILES= README.rst
post-install:
${INSTALL_MAN} ${_MAN_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${MANPREFIX}/man/man1
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${_README_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
do-test:
@(cd ${TEST_WRKSRC} && \
${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test)
.include <bsd.port.mk>