aboutsummaryrefslogtreecommitdiffstats
path: root/security/py-mhash/Makefile
blob: e1c37033f8e8cf0e5d28a4892ed1efac06de7252 (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
# Created by: 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=    libmhash.so:${PORTSDIR}/security/mhash

USES=       python
USE_PYTHON= distutils autoplist

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

test: install
    ${PYTHON_CMD} ${WRKSRC}/test.py

.include <bsd.port.mk>