1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/security/py-mkpasswd/Makefile
2024-07-04 17:40:48 +09:00

35 lines
715 B
Makefile

PORTNAME= mkpasswd
PORTVERSION= 2.1
DISTVERSIONPREFIX= v
CATEGORIES= security python
MAINTAINER= rbranco@suse.de
COMMENT= Overfeatured front end to crypt(3)
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}argon2-cffi>=21.1:security/py-argon2-cffi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}passlib>=1.7.4:security/py-passlib@${PY_FLAVOR}
USES= python
USE_GITHUB= yes
GH_ACCOUNT= ricardobranco777
GH_PROJECT= mkpasswd
NO_ARCH= yes
PLIST_FILES= bin/mkpasswd
# Fix she-bang
post-patch:
${REINPLACE_CMD} -e '1s|^#!.*|#!${PYTHON_CMD}|' ${WRKSRC}/mkpasswd
do-build:
true
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mkpasswd ${STAGEDIR}${PREFIX}/bin/mkpasswd
.include <bsd.port.mk>