aboutsummaryrefslogtreecommitdiffstats
path: root/security/py-bcrypt/Makefile
blob: 3c403f030c75cc2b81285338889b35c539450f2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$

PORTNAME=   bcrypt
PORTVERSION=    0.4
CATEGORIES= security python
MASTER_SITES=   GOOGLE_CODE \
        http://www.mindrot.org/files/py-bcrypt/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   py-${PORTNAME}-${PORTVERSION}

MAINTAINER= miwi@FreeBSD.org
COMMENT=    Python bcrypt module

USE_PYTHON= yes
USE_PYDISTUTILS=    easy_install
PYDISTUTILS_PKGNAME=    py_${PORTNAME}
PYEASYINSTALL_ARCHDEP=  yes
PYEASYINSTALL_EGG=  ${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}${PYEASYINSTALL_OSARCH}.egg
PLIST_FILES=    %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%

CFLAGS+=    -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

PROJECTHOST=    py-bcrypt

NO_STAGE=   yes
.include <bsd.port.mk>