summaryrefslogtreecommitdiffstats
path: root/mail/regm/Makefile
blob: ce6e9e77c0dd2e2a8c9e77bbb9993392bf69170a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# New ports collection makefile for:	regm
# Date created:				21 July 2001
# Whom:					Pete Fritchman <petef@databits.net>
#
# $FreeBSD$
#

PORTNAME=	regm
PORTVERSION=	1.0
CATEGORIES=	mail python
MASTER_SITES=	http://perso.linuxfr.org/jdumont/regm/

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

USE_REINPLACE=	yes
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>
OpenPOWER on IntegriCloud