git: bd9daa84401c - main - security/checkpassword: Refactor
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 27 Dec 2024 10:38:01 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bd9daa84401cfaaaaa8b753c27cf408ac92cc032
commit bd9daa84401cfaaaaa8b753c27cf408ac92cc032
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-12-27 08:43:46 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-12-27 10:37:18 +0000
security/checkpassword: Refactor
- Use OPTIONSNG for post-install target
- Remove GENTOO MASTER_SITES as it no longer provides flat layout
- Pet portclippy
Approved by: portmgr (blanket)
---
security/checkpassword/Makefile | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/security/checkpassword/Makefile b/security/checkpassword/Makefile
index 953f971b2004..c3a4e337c143 100644
--- a/security/checkpassword/Makefile
+++ b/security/checkpassword/Makefile
@@ -2,21 +2,20 @@ PORTNAME= checkpassword
PORTVERSION= 0.90
PORTREVISION= 1
CATEGORIES= security
-MASTER_SITES= http://cr.yp.to/checkpwd/ \
- GENTOO
+MASTER_SITES= http://cr.yp.to/checkpwd/
MAINTAINER= garga@FreeBSD.org
COMMENT= Simple password-checking interface
WWW= https://cr.yp.to/checkpwd.html
-OPTIONS_DEFINE= DOCS
-
ALL_TARGET= it
INSTALL_TARGET= setup
PLIST_FILES= bin/checkpassword
PORTDOCS= CHANGES FILES README SYSDEPS TARGETS TODO VERSION
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e "s,gcc,${CC},g" ${WRKSRC}/find-systype.sh
@@ -25,7 +24,7 @@ do-configure:
@${ECHO_CMD} '${CC} ${CFLAGS} -s -lcrypt' > ${WRKSRC}/conf-ld
@${ECHO_CMD} ${STAGEDIR}${PREFIX} >${WRKSRC}/conf-home
-post-install:
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}