aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p4genpatch/Makefile
blob: 16e2e7d15cbfaee1147c61675bc8be29b99cb597 (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
33
34
35
# Created by: bms@FreeBSD.org
# $FreeBSD$

PORTNAME=       p4genpatch
PORTVERSION=        1
CATEGORIES=     devel
MASTER_SITES=       #
DISTFILES=

MAINTAINER=     ports@FreeBSD.org
COMMENT=        Helper scripts for generating RCS patches from Perforce

RUN_DEPENDS=        p4:${PORTSDIR}/devel/p4

NO_BUILD=       yes
NO_WRKSUBDIR=       yes

USES=           shebangfix
USE_PERL5=      yes

SCRIPTS=        bin/p4genpatch bin/p4d2p
PLIST_FILES=        ${SCRIPTS}

SHEBANG_FILES=      ${SCRIPTS}

do-extract:
    @${MKDIR} ${WRKSRC}
    @${CP} -r ${FILESDIR}/bin ${WRKSRC}

do-install:
.for script in ${SCRIPTS}
    ${INSTALL_SCRIPT} ${WRKSRC}/${script} ${PREFIX}/bin
.endfor

.include <bsd.port.mk>