597afc47ba
With hat: portmgr Sponsored by: Absolight
32 lines
634 B
Makefile
32 lines
634 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mhash
|
|
PORTVERSION= 1.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= security python
|
|
MASTER_SITES= SF/${PORTNAME}/OldFiles
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= python-mhash-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Python mhash module
|
|
|
|
LICENSE= LGPL21+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libmhash.so:security/mhash
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mhash.so
|
|
|
|
test: install
|
|
${PYTHON_CMD} ${WRKSRC}/test.py
|
|
|
|
.include <bsd.port.mk>
|