summaryrefslogtreecommitdiff
path: root/security/chntpw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/chntpw/Makefile')
-rw-r--r--security/chntpw/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/security/chntpw/Makefile b/security/chntpw/Makefile
new file mode 100644
index 000000000000..f4e9e4f4c580
--- /dev/null
+++ b/security/chntpw/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: chntpw
+# Date created: 25 July 2007
+# Whom: buganini@gmail.com
+#
+# $FreeBSD$
+#
+
+PORTNAME= chntpw
+PORTVERSION= 070409
+CATEGORIES= security sysutils
+MASTER_SITES= http://home.eunet.no/pnordahl/ntpasswd/
+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
+
+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:
+ ${INSTALL_PROGRAM} ${WRKSRC}/chntpw ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>