freebsd-ports/mail/regm/Makefile
2004-02-06 13:12:53 +00:00

29 lines
612 B
Makefile

# 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
PLIST_FILES= bin/regm
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>