Prune sysutils/rubygem-fluent-mixin-plaintextformatter
[dports.git] / security / libpwquality / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       libpwquality
4 PORTVERSION=    1.2.4
5 PORTREVISION=   1
6 CATEGORIES=     security
7 MASTER_SITES=   https://fedorahosted.org/releases/l/i/libpwquality/
8
9 MAINTAINER=     gnome@freebsd.org
10 COMMENT=        Library for generating random passwords and quality checking
11
12 LIB_DEPENDS=    libcrack.so:${PORTSDIR}/security/cracklib
13
14 USES=           gettext gmake libtool pathfix tar:bzip2
15 USE_GNOME=      intltool
16 GNU_CONFIGURE=  yes
17 USE_LDCONFIG=   yes
18 CONFIGURE_ARGS+=--disable-pam
19 CPPFLAGS+=      -I${LOCALBASE}/include
20 LDFLAGS+=       -L${LOCALBASE}/lib
21 INSTALL_TARGET= install-strip
22
23 OPTIONS_DEFINE= PYTHON
24 OPTIONS_DEFAULT=PYTHON
25 OPTIONS_SUB=    yes
26 PYTHON_USES=    python
27 PYTHON_BUILD_DEPENDS=   python:${PORTSDIR}/lang/python
28 PYTHON_CONFIGURE_ENABLE=        python-bindings
29
30 post-patch:
31         @${REINPLACE_CMD} -e 's|python setup.py build|${PYTHON_VERSION} setup.py build|g' \
32                 ${WRKSRC}/python/Makefile.in
33
34 .include <bsd.port.mk>