head	1.12;
access;
symbols
	RELEASE_8_3_0:1.11
	RELEASE_9_0_0:1.11
	RELEASE_7_4_0:1.10
	RELEASE_8_2_0:1.10
	RELEASE_6_EOL:1.10
	RELEASE_8_1_0:1.10
	RELEASE_7_3_0:1.10
	RELEASE_8_0_0:1.10
	RELEASE_7_2_0:1.9
	RELEASE_7_1_0:1.9
	RELEASE_6_4_0:1.9
	RELEASE_5_EOL:1.9
	RELEASE_7_0_0:1.9
	RELEASE_6_3_0:1.9
	PRE_XORG_7:1.8
	RELEASE_4_EOL:1.8
	RELEASE_6_2_0:1.8
	RELEASE_6_1_0:1.8
	RELEASE_5_5_0:1.8
	RELEASE_6_0_0:1.8
	RELEASE_5_4_0:1.7
	RELEASE_4_11_0:1.7
	RELEASE_5_3_0:1.7
	RELEASE_4_10_0:1.7
	RELEASE_5_2_1:1.6
	RELEASE_5_2_0:1.6
	RELEASE_4_9_0:1.5
	RELEASE_5_1_0:1.5
	RELEASE_4_8_0:1.5
	RELEASE_5_0_0:1.4
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.2
	RELEASE_4_6_1:1.2
	RELEASE_4_6_0:1.2
	RELEASE_5_0_DP1:1.1;
locks; strict;
comment	@# @;


1.12
date	2012.11.17.06.01.16;	author svnexp;	state Exp;
branches;
next	1.11;

1.11
date	2011.09.23.22.25.17;	author amdmi3;	state Exp;
branches;
next	1.10;

1.10
date	2009.08.22.00.35.02;	author amdmi3;	state Exp;
branches;
next	1.9;

1.9
date	2007.07.30.09.41.56;	author alexbl;	state Exp;
branches;
next	1.8;

1.8
date	2005.07.18.18.59.33;	author pav;	state Exp;
branches;
next	1.7;

1.7
date	2004.02.05.20.37.47;	author trevor;	state Exp;
branches;
next	1.6;

1.6
date	2003.10.13.18.42.05;	author perky;	state Exp;
branches;
next	1.5;

1.5
date	2003.02.20.18.59.10;	author knu;	state Exp;
branches;
next	1.4;

1.4
date	2002.11.10.16.47.56;	author lioux;	state Exp;
branches;
next	1.3;

1.3
date	2002.11.06.22.46.55;	author adamw;	state Exp;
branches;
next	1.2;

1.2
date	2002.04.29.18.49.14;	author ijliao;	state Exp;
branches;
next	1.1;

1.1
date	2002.02.10.19.29.58;	author ijliao;	state Exp;
branches;
next	;


desc
@@


1.12
log
@Switch exporter over
@
text
@# ex:ts=8
# Ports collection makefile for:	py-mhash
# Date created:			Feb 10, 2002
# Whom:				ijliao
#
# $FreeBSD: head/security/py-mhash/Makefile 300897 2012-07-14 14:29:18Z beat $
#

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=	mhash:${PORTSDIR}/security/mhash

PLIST_FILES=	%%PYTHON_SITELIBDIR%%/mhash.so
USE_PYTHON=	yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME=	python-mhash

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

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

.include <bsd.port.mk>
@


1.11
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.10
log
@- Switch SourceForge ports to the new File Release System: categories starting with P,R,S
@
text
@d27 1
a27 1
MAKE_ENV=	"LDFLAGS=-L${LOCALBASE}/lib"
@


1.9
log
@ - Make Python 2.5.1 the default Python version
 - Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
@
text
@d12 1
a12 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	mhash
@


1.8
log
@- Update to 1.4

PR:		ports/83654
Submitted by:	Vsevolod Stakhov <vsevolod@@highsecure.ru>
@
text
@d25 1
@


1.7
log
@Use PLIST_FILES.

Reviewed by:	marcus
@
text
@d10 1
a10 1
PORTVERSION=	1.0
d22 1
a22 1
PLIST_FILES=	lib/%%PYTHON_VERSION%%/site-packages/mhash.so
d25 1
a25 2
USE_REINPLACE=	yes
PYDISTUTILS_BUILDARGS=	-L${LOCALBASE}/lib
d27 1
d29 2
a30 5
pre-patch:
	${REINPLACE_CMD} -e '227s,$$,\\,' ${WRKSRC}/mhash.c # put a missed terminating quote

do-build:
	@@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} build_ext ${PYDISTUTILS_BUILDARGS})
@


1.6
log
@Fix build for gcc 3.3

Spotted by:	kris
@
text
@d22 1
@


1.5
log
@De-pkg-comment.
@
text
@d23 2
a24 1
USE_PYDISTUTILS=	yes
d27 3
@


1.4
log
@o Rollback PORTCOMMENT modifications while this feature's implementation
  is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
@
text
@d18 1
@


1.3
log
@Use PORTCOMMENT in the Makefile, and whack the pkg-comment.

Approved by:	pat
@
text
@a18 2
PORTCOMMENT=	Python mhash module

a27 1

@


1.2
log
@use USE_PYDISTUTILS
@
text
@d19 2
@


1.1
log
@add py-mhash 1.0
Python mhash module
@
text
@d22 2
a25 2
SETUP_CMD=	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py

d27 1
a27 1
	@@${SETUP_CMD} build_ext -L${LOCALBASE}/lib
a28 2
do-install:
	@@${SETUP_CMD} install
@

