Makefile 912 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $OpenBSD: Makefile,v 1.17 2016/09/13 18:52:05 naddy Exp $
  2. COMMENT = data recovery software
  3. VERSION = 7.0
  4. DISTNAME = testdisk-${VERSION}
  5. CATEGORIES = sysutils
  6. HOMEPAGE = http://www.cgsecurity.org/
  7. MASTER_SITES = ${HOMEPAGE}
  8. EXTRACT_SUFX = .tar.bz2
  9. MAINTAINER = Landry Breuil <landry@openbsd.org>
  10. # GPLv2
  11. PERMIT_PACKAGE_CDROM = Yes
  12. SUBST_VARS += VERSION
  13. CONFIGURE_STYLE = gnu
  14. CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
  15. LDFLAGS="-L${LOCALBASE}/lib"
  16. CONFIGURE_ARGS = --disable-qt
  17. LIB_DEPENDS = converters/libiconv \
  18. sysutils/e2fsprogs>=1.42.7 \
  19. sysutils/ntfs-3g \
  20. graphics/jpeg
  21. WANTLIB = c com_err iconv uuid ext2fs jpeg ncursesw ntfs-3g z
  22. post-install:
  23. ${INSTALL_DATA} ${WRKSRC}/documentation.html ${PREFIX}/share/doc/testdisk/
  24. # we disable qt, no need for those
  25. rm -Rf ${PREFIX}/share/icons/ ${PREFIX}/man/man8/qphotorec.8 ${PREFIX}/man/zh_CN/
  26. .include <bsd.port.mk>