Makefile 998 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # $OpenBSD: Makefile,v 1.9 2015/04/21 18:19:27 sthen Exp $
  2. COMMENT = Python bindings for cracklib
  3. MODPY_EGG_VERSION = 0.5.1
  4. DISTNAME = python-crack-${MODPY_EGG_VERSION}
  5. PKGNAME = py-crack-${MODPY_EGG_VERSION}
  6. REVISION= 4
  7. CATEGORIES = security devel
  8. HOMEPAGE = http://www.nongnu.org/python-crack/
  9. MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
  10. # MIT/X Consortium License
  11. PERMIT_PACKAGE_CDROM = Yes
  12. WANTLIB += ${MODPY_WANTLIB}
  13. WANTLIB += crack pthread
  14. MASTER_SITES = http://download.savannah.gnu.org/releases/python-crack/
  15. MODULES = lang/python
  16. LIB_DEPENDS = security/cracklib
  17. MAKE_FLAGS = CC="${CC}" \
  18. CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
  19. LDFLAGS="-L${LOCALBASE}/lib"
  20. CONFIGURE_STYLE = autoconf no-autoheader
  21. CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib" \
  22. DEFAULT_DICTPATH="${LOCALBASE}/share/cracklib/cracklib-small"
  23. AUTOCONF_VERSION = 2.59
  24. post-install:
  25. find ${WRKINST} -name \*.egg-info -exec rm {} \;
  26. NO_TEST = Yes
  27. .include <bsd.port.mk>