2007-07-27 16:41:07 +02:00
|
|
|
# New ports collection makefile for: chntpw
|
|
|
|
# Date created: 25 July 2007
|
|
|
|
# Whom: buganini@gmail.com
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= chntpw
|
2012-01-14 20:11:50 +01:00
|
|
|
PORTVERSION= 110511
|
2007-07-27 16:41:07 +02:00
|
|
|
CATEGORIES= security sysutils
|
2010-08-13 16:50:21 +02:00
|
|
|
MASTER_SITES= http://pogostick.net/~pnh/ntpasswd/
|
2007-07-27 16:41:07 +02:00
|
|
|
DISTNAME= ${PORTNAME}-source-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= buganini@gmail.com
|
|
|
|
COMMENT= Utility to set the password and edit registry on Microsoft NT system
|
|
|
|
|
|
|
|
USE_ZIP= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
|
2007-07-29 13:58:14 +02:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
2007-07-27 16:41:07 +02:00
|
|
|
PLIST_FILES= bin/chntpw
|
|
|
|
PORTDOCS= README.txt WinReg.txt regedit.txt
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '10 s,/usr,$$\(OPENSSLBASE\),' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
do-install:
|
2010-08-13 16:50:21 +02:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/chntpw ${PREFIX}/bin
|
2007-07-27 16:41:07 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2010-08-13 16:50:21 +02:00
|
|
|
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
2007-07-27 16:41:07 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|