summaryrefslogtreecommitdiffstats
path: root/security/libpwquality/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-06-18 05:03:15 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-06-18 05:03:15 +0800
commitde32a46247d0bf3ecd1f1a1ad4d0b39c21e5fb2d (patch)
tree44682b9313b4890e7c9071e8828c4646603855ea /security/libpwquality/Makefile
parenta99069fa5d7f0a426ed89e4c0edb9c13e23bb104 (diff)
downloadmarcuscom-ports-de32a46247d0bf3ecd1f1a1ad4d0b39c21e5fb2d.tar
marcuscom-ports-de32a46247d0bf3ecd1f1a1ad4d0b39c21e5fb2d.tar.gz
marcuscom-ports-de32a46247d0bf3ecd1f1a1ad4d0b39c21e5fb2d.tar.bz2
marcuscom-ports-de32a46247d0bf3ecd1f1a1ad4d0b39c21e5fb2d.tar.lz
marcuscom-ports-de32a46247d0bf3ecd1f1a1ad4d0b39c21e5fb2d.tar.xz
marcuscom-ports-de32a46247d0bf3ecd1f1a1ad4d0b39c21e5fb2d.tar.zst
marcuscom-ports-de32a46247d0bf3ecd1f1a1ad4d0b39c21e5fb2d.zip
Add libpwquality.
Submitted by: Gustua Perez git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18560 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'security/libpwquality/Makefile')
-rw-r--r--security/libpwquality/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/security/libpwquality/Makefile b/security/libpwquality/Makefile
new file mode 100644
index 000000000..433493108
--- /dev/null
+++ b/security/libpwquality/Makefile
@@ -0,0 +1,42 @@
+# Created by: Tilman Linneweh <arved@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= libpwquality
+PORTVERSION= 1.2.1
+CATEGORIES= security
+MASTER_SITES= https://fedorahosted.org/releases/l/i/libpwquality/
+
+MAINTAINER= gnome@freebsd.org
+COMMENT= Library for generating random passwords and quality checking
+
+LIB_DEPENDS= crack:${PORTSDIR}/security/cracklib
+
+USES= gettext pathfix
+USE_BZIP2= yes
+USE_AUTOTOOLS= libtool
+USE_GMAKE= yes
+USE_GNOME= intltool
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+CONFIGURE_ARGS+=--disable-pam
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+MAN1= pwmake.1 pwscore.1
+MAN5= pwquality.conf.5
+
+OPTIONS_DEFINE= PYTHON
+OPTIONS_DEFAULT=PYTHON
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MPYTHON}
+USE_PYTHON= yes
+CONFIGURE_ARGS+=--enable-python-bindings
+PLIST_SUB+= PYTHON=""
+.else
+CONFIGURE_ARGS+=--disable-python-bindings
+PLIST_SUB+= PYTHON="@comment "
+.endif
+
+.include <bsd.port.mk>