26 lines
521 B
Makefile
26 lines
521 B
Makefile
# 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
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS=yes
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
test: install
|
|
${PYTHON_CMD} ${WRKSRC}/test.py
|
|
|
|
.include <bsd.port.mk>
|