aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cvsstat/Makefile
blob: 657d1ba0e6928558761f45d4f4f4d48588798148 (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
# Created by: petef
# $FreeBSD$

PORTNAME=   cvsstat
PORTVERSION=    2.24
CATEGORIES= devel
MASTER_SITES=   http://cvs.sslug.dk/cvs2html/utils/
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   # empty
DIST_SUBDIR=    ${PORTNAME}-${PORTVERSION}
EXTRACT_ONLY=   # empty

MAINTAINER= glarkin@FreeBSD.org
COMMENT=    Transforms the output of 'cvs status' to a sorted ASCII table

USE_PERL5=  yes
NO_BUILD=   yes
PLIST_FILES=    bin/cvsstat

do-extract:
    @${MKDIR} ${WRKSRC}
    @${CP} -p ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}

post-patch:
    @${REINPLACE_CMD} -i '' -e 's|perl -S|${PERL} -S|' ${WRKSRC}/cvsstat

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/cvsstat ${PREFIX}/bin

.include <bsd.port.mk>