blob: 9a291661deec35e346c60a1ccae5cc423d521165 (
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
31
32
|
# ex:ts=8
# Ports collection makefile for: py-mhash
# Date created: Feb 10, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= mhash
PORTVERSION= 1.4
CATEGORIES= security python
MASTER_SITES= SF/${PORTNAME}/OldFiles
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= python-mhash-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python mhash module
LIB_DEPENDS= mhash:${PORTSDIR}/security/mhash
PLIST_FILES= %%PYTHON_SITELIBDIR%%/mhash.so
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= python-mhash
CFLAGS+= -I${LOCALBASE}/include
MAKE_ENV= "LDFLAGS=-L${LOCALBASE}/lib"
test: install
${PYTHON_CMD} ${WRKSRC}/test.py
.include <bsd.port.mk>
|