aboutsummaryrefslogtreecommitdiffstats
path: root/mail/regm/Makefile
blob: d5a337a7139f8bc28e4f793b25619e597bea32a3 (plain) (blame)
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
# 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

NO_BUILD=   yes
USE_PYTHON= yes

post-patch:
    @${PERL} -pi -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>