1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

security/pkcrack: Remove gmake dependency

PR:		279471
Reported by:	diizzy
This commit is contained in:
Emanuel Haupt 2024-06-02 19:41:16 +02:00
parent 294c02c89b
commit a57c9d8c9d

View File

@ -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