git: a57c9d8c9dc1 - main - security/pkcrack: Remove gmake dependency
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Jun 2024 17:41:29 UTC
The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=a57c9d8c9dc1f753e9be81f3fbca19c2cac9cd3b commit a57c9d8c9dc1f753e9be81f3fbca19c2cac9cd3b Author: Emanuel Haupt <ehaupt@FreeBSD.org> AuthorDate: 2024-06-02 17:41:16 +0000 Commit: Emanuel Haupt <ehaupt@FreeBSD.org> CommitDate: 2024-06-02 17:41:23 +0000 security/pkcrack: Remove gmake dependency PR: 279471 Reported by: diizzy --- security/pkcrack/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/security/pkcrack/Makefile b/security/pkcrack/Makefile index 667addae8771..e0b2621f8b18 100644 --- a/security/pkcrack/Makefile +++ b/security/pkcrack/Makefile @@ -1,5 +1,6 @@ PORTNAME= pkcrack -PORTVERSION= 1.2.3 +DISTVERSION= 1.2.3 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.unix-ag.uni-kl.de/~conrad/krypto/pkcrack/ \ LOCAL/ehaupt @@ -13,9 +14,8 @@ LICENSE_NAME= pkcrack non-commercial license LICENSE_FILE= ${WRKDIR}/${DISTNAME}/doc/README LICENSE_PERMS= dist-mirror pkg-mirror auto-accept -USES= gmake +WRKSRC_SUBDIR= src -WRKSRC= ${WRKDIR}/${DISTNAME}/src PLIST_FILES= bin/pkcrack \ bin/pkextract \ bin/pkfindkey \ @@ -25,6 +25,12 @@ PORTDOCS= README pkzip.ps.gz OPTIONS_DEFINE= DOCS +post-patch: + @${REINPLACE_CMD} -e 's|ifdef|.ifdef|g' \ + ${PATCH_WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|endif|.endif|g' \ + ${PATCH_WRKSRC}/Makefile + do-install: .for f in pkcrack zipdecrypt ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin