aboutsummaryrefslogtreecommitdiffstats
path: root/security/py-mcrypt/Makefile
blob: 21fe43d8be142dbe9a86e570402f6784093971cf (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
29
30
# ex:ts=8
# Ports collection makefile for:    py-mcrypt
# Date created:         Jul 21, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   mcrypt
PORTVERSION=    1.0
CATEGORIES= security python
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= python-mcrypt
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   python-mcrypt-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A comprehensive Python interface to the mcrypt library

LIB_DEPENDS=    mcrypt:${PORTSDIR}/security/libmcrypt

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_BUILDARGS=  -L${LOCALBASE}/lib
CFLAGS+=    -I${LOCALBASE}/include

do-build:
    @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} build_ext ${PYDISTUTILS_BUILDARGS})

.include <bsd.port.mk>