# New ports collection makefile for:	regm
# Date created:				21 July 2001
# Whom:					Pete Fritchman <petef@databits.net>
#
# $FreeBSD: ports/mail/regm/Makefile,v 1.7 2006/04/14 20:45:39 linimon Exp $
#

PORTNAME=	regm
PORTVERSION=	1.0
CATEGORIES=	mail python
MASTER_SITES=	http://hamete.org/regm/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Extract messages from a mailbox using regular expressions

PLIST_FILES=	bin/regm
NO_BUILD=	yes
USE_PYTHON=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|^#!/usr/bin/env python|#!${PYTHON_CMD}|' \
		${WRKSRC}/regm.py

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/regm.py ${PREFIX}/bin/regm

.include <bsd.port.mk>


syntax highlighted by Code2HTML, v. 0.9.1