mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
428ee0bc4b
Hat: portmgr
28 lines
578 B
Makefile
28 lines
578 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://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>
|