summaryrefslogtreecommitdiffstats
path: root/security/py-mhash/Makefile
blob: fc15080a182653606bfe34aa086d3e722d6fef43 (plain)
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
31
32
# ex:ts=8
# Ports collection makefile for:	py-mhash
# Date created:			Feb 10, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

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

MAINTAINER=	ports@FreeBSD.org

LIB_DEPENDS=	mhash:${PORTSDIR}/security/mhash

USE_PYTHON=	yes
CFLAGS+=	-I${LOCALBASE}/include

SETUP_CMD=	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py

do-build:
	@${SETUP_CMD} build_ext -L${LOCALBASE}/lib

do-install:
	@${SETUP_CMD} install

.include <bsd.port.mk>
OpenPOWER on IntegriCloud