head	1.11;
access;
symbols
	RELEASE_8_3_0:1.10
	RELEASE_9_0_0:1.9
	RELEASE_7_4_0:1.7
	RELEASE_8_2_0:1.7
	RELEASE_6_EOL:1.6
	RELEASE_8_1_0:1.6
	RELEASE_7_3_0:1.6
	RELEASE_8_0_0:1.6
	RELEASE_7_2_0:1.6
	RELEASE_7_1_0:1.5
	RELEASE_6_4_0:1.5
	RELEASE_5_EOL:1.5
	RELEASE_7_0_0:1.5
	RELEASE_6_3_0:1.5
	PRE_XORG_7:1.4
	RELEASE_4_EOL:1.4
	RELEASE_6_2_0:1.4
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2
	RELEASE_6_0_0:1.2;
locks; strict;
comment	@# @;


1.11
date	2012.11.17.06.01.16;	author svnexp;	state Exp;
branches;
next	1.10;

1.10
date	2012.02.10.21.30.07;	author pgollucci;	state Exp;
branches;
next	1.9;

1.9
date	2011.09.23.22.25.17;	author amdmi3;	state Exp;
branches;
next	1.8;

1.8
date	2011.03.18.10.04.52;	author sbz;	state Exp;
branches;
next	1.7;

1.7
date	2011.01.12.20.10.50;	author gerald;	state Exp;
branches;
next	1.6;

1.6
date	2009.02.27.20.45.20;	author tabthorpe;	state Exp;
branches;
next	1.5;

1.5
date	2007.07.30.09.41.55;	author alexbl;	state Exp;
branches;
next	1.4;

1.4
date	2006.05.26.20.44.44;	author pav;	state Exp;
branches;
next	1.3;

1.3
date	2006.04.14.18.14.58;	author linimon;	state Exp;
branches;
next	1.2;

1.2
date	2005.07.22.09.33.35;	author vsevolod;	state Exp;
branches;
next	1.1;

1.1
date	2005.07.18.16.29.47;	author pav;	state Exp;
branches;
next	;


desc
@@


1.11
log
@Switch exporter over
@
text
@# New ports collection makefile for:	py-crack
# Date created:		2005-07-17
# Whom:			Vsevolod Stakhov <vsevolod@@highsecure.ru>
#
# $FreeBSD: head/security/py-crack/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	pycrack
PORTVERSION=	0.5.1
PORTREVISION=	1
CATEGORIES=	security python
MASTER_SITES=	${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR=	python-crack
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	python-crack-${PORTVERSION}

MAINTAINER=	sbz@@FreeBSD.org
COMMENT=	Python bindings to cracklib

BUILD_DEPENDS=	${LOCALBASE}/lib/libcrack.a:${PORTSDIR}/security/cracklib

USE_PYTHON=	yes
USE_PYDISTUTILS=	yes
PYSETUP=	distutil.py
GNU_CONFIGURE=	yes

PLIST_FILES:=	${PYTHONPREFIX_SITELIBDIR:S,${PREFIX}/,,}/_crack.so \
		${PYTHONPREFIX_SITELIBDIR:S,${PREFIX}/,,}/crack.py

CONFIGURE_ENV=	"DEFAULT_DICTPATH=${LOCALBASE}/libdata/cracklib/pw_dict"
LDFLAGS+=	-L${LOCALBASE}/lib
CFLAGS+=	-I${LOCALBASE}/include
CPPFLAGS+=	-I${LOCALBASE}/include

post-patch:
	${REINPLACE_CMD} -e 's/setup(/setup(name="${PORTNAME}",version="${PORTVERSION}",/' \
		${WRKSRC}/distutil.py

post-install:
	${INSTALL_DATA} ${WRKSRC}/crack.py ${PYTHONPREFIX_SITELIBDIR}

.include <bsd.port.mk>
@


1.10
log
@- Chase shlib bump for security/cracklib from .1 -> .10

Forgotten by:   myself (pgollucci)
Reported by:    pav via pointyhat
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.9
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d10 1
@


1.8
log
@Update my MAINTAINER address to sbz at FreeBSD.org.

Approved by:	jadawin@@ (mentor)
@
text
@d29 4
a32 7
CONFIGURE_ENV=	"CPPFLAGS=-I${LOCALBASE}/include" \
		"LDFLAGS=-L${LOCALBASE}/lib" \
		"DEFAULT_DICTPATH=${LOCALBASE}/libdata/cracklib/pw_dict"

MAKE_ENV=	"LDFLAGS=-L${LOCALBASE}/lib"

CFLAGS+=	"-I${LOCALBASE}/include"
@


1.7
log
@Adjust MAKE_ENV and add CFLAGS to be more robust.

PR:		153625
Submitted by:	Sofian Brabez <sbrabez@@gmail.com> (maintainer)
Feature safe:	yes
@
text
@d16 1
a16 1
MAINTAINER=	sbrabez@@gmail.com
@


1.6
log
@- Pass maintainership to submitter

Submitted by:	Sofian Brabez via private email
@
text
@d33 3
a35 2
MAKE_ENV=	"CPPFLAGS=-I${LOCALBASE}/include -fPIC" \
		"LDFLAGS=-L${LOCALBASE}/lib"
@


1.5
log
@ - Make Python 2.5.1 the default Python version
 - Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
@
text
@d16 1
a16 1
MAINTAINER=	ports@@FreeBSD.org
@


1.4
log
@- Update to 0.5.1

PR:		ports/97810
Submitted by:	Martin Wilke <freebsd@@unixfreunde.de>
@
text
@d36 4
@


1.3
log
@Reset vsevolod as maintainer due to unreponsiveness.  We hope to see him
back sometime.

Hat:		portmgr
@
text
@d9 1
a9 1
PORTVERSION=	0.5
d12 1
a12 1
MASTER_SITE_SUBDIR=	python-crack/Stable.pkg/${PORTVERSION}
@


1.2
log
@Update my email address.

Approved by:	perky (mentor)
@
text
@d16 1
a16 1
MAINTAINER=	vsevolod@@FreeBSD.org
@


1.1
log
@This module brings to Python programs the capability of evaluating password
strength. To achieve this noble aim it uses the well known cracklib toolkit,
hence the name.

PR:		ports/83603
Submitted by:	Vsevolod Stakhov <vsevolod@@highsecure.ru>
@
text
@d16 1
a16 1
MAINTAINER=	vsevolod@@highsecure.ru
@

