# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup libpwquality libpwquality 1.4.0 libpwquality-
description A library for password quality checking and \
the generation of random passwords that \
long_description ${description}
checksums rmd160 7404be81e78bcace422a38f91ecc3c65e72c8f63 \
sha256 1d9f39e946d10fd691ad9667bc6b97ba2b804008f2cc30648f073a4fd42d1bd2
depends_build port:pkgconfig \
depends_lib port:gettext \
patchfiles patch-doc-man-Makefile.am.diff \
patch-python-Makefile.am.diff \
patch-src-pam_pwquality.c.diff
configure.cmd ./autogen.sh && ./configure
configure.args --disable-pam
variant python27 conflicts python34 python35 python36 description {Build python 2.7 bindings} {
depends_lib-append port:python27
set python_prefix ${frameworks_dir}/Python.framework/Versions/${python_ver}
set python_site_path ${python_prefix}/lib/python${python_ver}/site-packages
configure.args-append --with-python-binary=${prefix}/bin/python${python_ver} \
--with-pythonsitedir=${python_site_path}
variant python34 conflicts python27 python35 python36 description {Build python 3.4 bindings} {
depends_lib-append port:python34
set python_prefix ${frameworks_dir}/Python.framework/Versions/${python_ver}
set python_site_path ${python_prefix}/lib/python${python_ver}/site-packages
configure.args-append --with-python-binary=${prefix}/bin/python${python_ver} \
--with-pythonsitedir=${python_site_path}
variant python35 conflicts python27 python34 python36 description {Build python 3.5 bindings} {
depends_lib-append port:python35
set python_prefix ${frameworks_dir}/Python.framework/Versions/${python_ver}
set python_site_path ${python_prefix}/lib/python${python_ver}/site-packages
configure.args-append --with-python-binary=${prefix}/bin/python${python_ver} \
--with-pythonsitedir=${python_site_path}