aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p4delta/Makefile
blob: 13e35cddcbf76c7b1c11b7af89e64c09e5e36f23 (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
26
27
28
29
30
31
32
# ex:ts=8
# Ports collection makefile for:  p4delta
# Date created:                   Wed Apr 16, 2003
# Whom:                           Michael L. Hostbaek (mich@freebsdcluster.org)
#
# $FreeBSD$
#

PORTNAME=   p4delta
PORTVERSION=    1.3
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= mich@FreeBSD.org
COMMENT=    Summarizes and manages differences between local files and Perforce

USE_RUBY=   yes
NO_BUILD=   yes
USE_REINPLACE=  yes

post-patch:
    @${REINPLACE_CMD} -e 's|^#!/usr/bin/ruby|#!${RUBY}|' ${WRKSRC}/p4delta

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
    ${INSTALL_MAN} ${WRKSRC}/p4delta.1 ${PREFIX}/man/man1/

MAN1=       p4delta.1
PLIST_FILES=    bin/p4delta

.include <bsd.port.mk>