31d7fffbe5
PR: ports/83654 Submitted by: Vsevolod Stakhov <vsevolod@highsecure.ru>
33 lines
655 B
Makefile
33 lines
655 B
Makefile
# 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= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= mhash
|
|
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
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
MAKE_ENV= "LDFLAGS=-L${LOCALBASE}/lib"
|
|
|
|
test: install
|
|
${PYTHON_CMD} ${WRKSRC}/test.py
|
|
|
|
.include <bsd.port.mk>
|