From 3814ccdf455c9349fa26ee7524a25fb5b26bc351 Mon Sep 17 00:00:00 2001 From: Trevor Johnson Date: Wed, 7 Apr 2004 17:05:45 +0000 Subject: Update to 1.34. Avoid running configure script. Use INSTALL_ macros. --- textproc/diffstat/Makefile | 12 ++++++++---- textproc/diffstat/distinfo | 4 ++-- 2 files changed, 10 insertions(+), 6 deletions(-) (limited to 'textproc/diffstat') diff --git a/textproc/diffstat/Makefile b/textproc/diffstat/Makefile index cd8da18d185c..a85cc0d9a96a 100644 --- a/textproc/diffstat/Makefile +++ b/textproc/diffstat/Makefile @@ -6,7 +6,7 @@ # PORTNAME= diffstat -PORTVERSION= 1.33 +PORTVERSION= 1.34 CATEGORIES= textproc devel MASTER_SITES= ftp://dickey.his.com/diffstat/ EXTRACT_SUFX= .tgz @@ -15,10 +15,14 @@ MAINTAINER= trevor@FreeBSD.org COMMENT= Makes a histogram summarizing "diff" output WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -MAKEFILE= makefile -GNU_CONFIGURE= yes - 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 diff --git a/textproc/diffstat/distinfo b/textproc/diffstat/distinfo index 896a409452b6..85772efa4c0b 100644 --- a/textproc/diffstat/distinfo +++ b/textproc/diffstat/distinfo @@ -1,2 +1,2 @@ -MD5 (diffstat-1.33.tgz) = bd719509b85b37e48e359c3e1e1c7222 -SIZE (diffstat-1.33.tgz) = 56407 +MD5 (diffstat-1.34.tgz) = 8cf39406d471722499b4d9dacdf367f5 +SIZE (diffstat-1.34.tgz) = 58633 -- cgit v1.2.3