Makefile 913 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # $OpenBSD: Makefile,v 1.4 2017/02/11 16:43:46 sthen Exp $
  2. COMMENT = Windows Registry data extraction tool
  3. DISTNAME = regripper-2.8pl2
  4. CATEGORIES = security
  5. HOMEPAGE = https://regripper.wordpress.com/
  6. MAINTAINER = Remi Pointel <rpointel@openbsd.org>
  7. # GPLv3
  8. PERMIT_PACKAGE_CDROM = Yes
  9. GH_ACCOUNT = keydet89
  10. GH_PROJECT = RegRipper2.8
  11. GH_COMMIT = 3986604eed2b58bba9e4dd3bb0f935e1e4bdb0b9
  12. MODULES = perl
  13. SUBST_VARS= TRUEPREFIX
  14. RUN_DEPENDS = devel/p5-Parse-Win32Registry
  15. post-patch:
  16. rm ${WRKSRC}/plugins/*.pl.orig
  17. pre-install:
  18. ${SUBST_CMD} ${WRKSRC}/rip.pl
  19. do-install:
  20. ${INSTALL_SCRIPT} ${WRKSRC}/rip.pl ${PREFIX}/bin/
  21. ${INSTALL_DATA_DIR} ${PREFIX}/share/regripper/
  22. cp -r ${WRKSRC}/plugins/ ${PREFIX}/share/regripper/
  23. ${INSTALL_DATA_DIR} ${PREFIX}/${P5SITE}/regripper/
  24. cp -r ${WRKSRC}/shellitems.pl ${PREFIX}/${P5SITE}/regripper/
  25. NO_BUILD = Yes
  26. NO_TEST = Yes
  27. .include <bsd.port.mk>