Makefile 822 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # $OpenBSD: Makefile,v 1.8 2017/05/11 20:50:55 espie Exp $
  2. ONLY_FOR_ARCHS = i386 amd64
  3. COMMENT = reset NT/W2K/XP/Vista/W7 password
  4. V = 100627
  5. REVISION = 3
  6. DISTNAME = chntpw-source-${V}
  7. PKGNAME = chntpw-${V}
  8. EXTRACT_SUFX = .zip
  9. CATEGORIES = security
  10. HOMEPAGE = http://pogostick.net/~pnh/ntpasswd/
  11. MAINTAINER = Ian Darwin <ian@openbsd.org>
  12. # Mix of GPL and LGPL
  13. PERMIT_PACKAGE_CDROM = Yes
  14. WANTLIB = c
  15. MASTER_SITES = http://pogostick.net/~pnh/ntpasswd/
  16. MAKE_ENV = CC=$(CC)
  17. USE_GMAKE = Yes
  18. NO_TEST = Yes
  19. WRKDIST = ${WRKDIR}/chntpw-${V}
  20. PROGS = chntpw chntpw.static cpnt reged reged.static
  21. DOCDIR = $(PREFIX)/share/doc/chntpw
  22. do-install:
  23. cd $(WRKDIST); $(INSTALL_PROGRAM) $(PROGS) $(PREFIX)/bin
  24. $(INSTALL_DATA_DIR) $(DOCDIR)
  25. $(INSTALL_DATA) $(WRKDIST)/*.txt $(DOCDIR)
  26. .include <bsd.port.mk>