Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # $OpenBSD: Makefile,v 1.14 2017/04/10 11:46:33 sthen Exp $
  2. COMMENT = password cracker based on rainbow tables
  3. DISTNAME = ophcrack-3.6.1
  4. CATEGORIES = security
  5. HOMEPAGE = http://ophcrack.sourceforge.net/
  6. MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
  7. # GPLv2
  8. PERMIT_PACKAGE_CDROM = Yes
  9. WANTLIB = c m pthread ssl crypto expat
  10. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=ophcrack/}
  11. EXTRACT_SUFX = .tar.bz2
  12. USE_GMAKE = Yes
  13. CONFIGURE_STYLE = gnu
  14. CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib" \
  15. CPPFLAGS="-I${LOCALBASE}/include"
  16. AUTOCONF_VERSION = 2.59
  17. FLAVORS = gui
  18. FLAVOR ?=
  19. .if ${FLAVOR:Mgui}
  20. WANTLIB += ICE SM X11 Xext Xi Xinerama Xrender fontconfig
  21. WANTLIB += freetype ${LIBCXX} QtGui>=8 QtCore>=7 qwt
  22. MODULES += x11/qt4
  23. LIB_DEPENDS += x11/qt4 \
  24. x11/qwt
  25. CONFIGURE_ARGS += --enable-gui \
  26. --with-libqt4=${MODQT_LIBDIR} \
  27. --with-libqwt=${LOCALBASE} \
  28. --enable-graph
  29. CONFIGURE_ENV += QTDIR="${MODQT4_QTDIR}" \
  30. CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include"
  31. .else
  32. CONFIGURE_ARGS = --disable-gui --disable-graph
  33. .endif
  34. NO_TEST = Yes
  35. .include <bsd.port.mk>