44 lines
908 B
Makefile
44 lines
908 B
Makefile
# $OpenBSD: Makefile,v 1.5 2011/11/04 08:43:32 jasper Exp $
|
|
|
|
ONLY_FOR_ARCHS = i386 amd64
|
|
|
|
COMMENT = reset NT/W2K/XP/Vista/W7 password
|
|
|
|
V = 100627
|
|
REVISION = 2
|
|
DISTNAME = chntpw-source-${V}
|
|
PKGNAME = chntpw-${V}
|
|
EXTRACT_SUFX = .zip
|
|
CATEGORIES = security
|
|
|
|
HOMEPAGE = http://pogostick.net/~pnh/ntpasswd/
|
|
|
|
MAINTAINER = Ian Darwin <ian@openbsd.org>
|
|
|
|
# Mix of GPL and LGPL
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
WANTLIB = c
|
|
|
|
MASTER_SITES = http://pogostick.net/~pnh/ntpasswd/
|
|
|
|
MAKE_ENV = CC=$(CC)
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
NO_REGRESS = Yes
|
|
|
|
WRKDIST = ${WRKDIR}/chntpw-${V}/
|
|
|
|
PROGS = chntpw chntpw.static cpnt reged reged.static
|
|
DOCDIR = $(PREFIX)/share/doc/chntpw
|
|
|
|
do-install:
|
|
cd $(WRKDIST); $(INSTALL_PROGRAM) $(PROGS) $(PREFIX)/bin
|
|
$(INSTALL_DATA_DIR) $(DOCDIR)
|
|
$(INSTALL_DATA) $(WRKDIST)/*.txt $(DOCDIR)
|
|
|
|
.include <bsd.port.mk>
|