43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.4 2010/11/20 17:22:45 espie Exp $
|
|
|
|
COMMENT = Python bindings for cracklib
|
|
|
|
MODPY_EGG_VERSION = 0.5.1
|
|
DISTNAME = python-crack-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-crack-${MODPY_EGG_VERSION}
|
|
REVISION= 0
|
|
CATEGORIES = security devel
|
|
|
|
HOMEPAGE = http://www.nongnu.org/python-crack/
|
|
|
|
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
|
|
|
|
# MIT/X Consortium License
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES = http://download.savannah.gnu.org/releases/python-crack/
|
|
|
|
MODULES = lang/python
|
|
LIB_DEPENDS = security/cracklib
|
|
WANTLIB = crack
|
|
|
|
MAKE_FLAGS = CC="${CC}" \
|
|
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
CONFIGURE_STYLE = autoconf no-autoheader
|
|
CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib" \
|
|
DEFAULT_DICTPATH="${LOCALBASE}/share/cracklib/cracklib-small"
|
|
|
|
AUTOCONF_VERSION = 2.59
|
|
|
|
post-install:
|
|
find ${WRKINST} -name \*.egg-info -exec rm {} \;
|
|
|
|
NO_REGRESS = Yes
|
|
|
|
.include <bsd.port.mk>
|