freebsd-ports/security/py-mhash/Makefile

35 lines
799 B
Makefile
Raw Normal View History

2002-02-10 20:29:58 +01:00
# ex:ts=8
# Ports collection makefile for: py-mhash
# Date created: Feb 10, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= mhash
PORTVERSION= 1.0
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mhash
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= python-mhash-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
2003-02-20 20:00:52 +01:00
COMMENT= Python mhash module
2002-02-10 20:29:58 +01:00
LIB_DEPENDS= mhash:${PORTSDIR}/security/mhash
USE_PYTHON= yes
2003-10-13 20:42:05 +02:00
USE_PYDISTUTILS=yes
USE_REINPLACE= yes
2002-04-29 20:53:07 +02:00
PYDISTUTILS_BUILDARGS= -L${LOCALBASE}/lib
2002-02-10 20:29:58 +01:00
CFLAGS+= -I${LOCALBASE}/include
2003-10-13 20:42:05 +02:00
pre-patch:
${REINPLACE_CMD} -e '227s,$$,\\,' ${WRKSRC}/mhash.c # put a missed terminating quote
2002-02-10 20:29:58 +01:00
do-build:
2002-04-29 20:53:07 +02:00
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} build_ext ${PYDISTUTILS_BUILDARGS})
2002-02-10 20:29:58 +01:00
.include <bsd.port.mk>