aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/diffstat/Makefile
blob: a85cc0d9a96a462c1a218e33fd5d935327d44591 (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
# New ports collection makefile for:    diffstat
# Date created:     Oct 23, 1999
# Whom:         Trevor Johnson
#
# $FreeBSD$
#

PORTNAME=   diffstat
PORTVERSION=    1.34
CATEGORIES= textproc devel
MASTER_SITES=   ftp://dickey.his.com/diffstat/
EXTRACT_SUFX=   .tgz

MAINTAINER= trevor@FreeBSD.org
COMMENT=    Makes a histogram summarizing "diff" output

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN1=       diffstat.1
PLIST_FILES=    bin/diffstat

do-build:
    cd ${WRKSRC}; ${CC} ${CFLAGS} -DHAVE_STDLIB_H -o diffstat diffstat.c

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/diffstat ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1

.include <bsd.port.mk>