1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/security/chntpw/Makefile
Ben Woods dce20e8a78 security/chntpw: Update to 140201
- Reset maintainer
- Re-format patch to apply cleanly
- pet portlint

PR:		220969
Submitted by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
Reported by:	woodsb02
Approved by:	buganini@gmail.com (ex maintainer)
2020-05-05 11:53:34 +00:00

35 lines
928 B
Makefile

# Created by: buganini@gmail.com
# $FreeBSD$
PORTNAME= chntpw
PORTVERSION= 140201
CATEGORIES= security sysutils
MASTER_SITES= http://pogostick.net/~pnh/ntpasswd/
DISTNAME= ${PORTNAME}-source-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Utility to set the password and edit registry on Microsoft NT system
LICENSE= GPLv2
USES= gmake zip ssl
BIN_FILES= chntpw cpnt reged
PLIST_FILES= ${BIN_FILES:C|^|bin/|}
PORTDOCS= README.txt WinReg.txt regedit.txt
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/^CC=/d; /^OSSLPATH=/ s|=.*|=${OPENSSLBASE}|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e '/^CFLAGS=/ s| -m32||' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${BIN_FILES:C|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>