aboutsummaryrefslogtreecommitdiff
path: root/textproc/diffstat
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-09-30 13:15:46 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-09-30 13:15:46 +0000
commit8af306aa5a2af4fe3b0f096830c5b1bc0f4aaa7b (patch)
treeca46f806e253cdd7cfe3ebd69d0ae34e7908ed45 /textproc/diffstat
parent90ecd0df4c42faa686591d5c08bc005f823ac243 (diff)
downloadports-8af306aa5a2af4fe3b0f096830c5b1bc0f4aaa7b.tar.gz
ports-8af306aa5a2af4fe3b0f096830c5b1bc0f4aaa7b.zip
Notes
Diffstat (limited to 'textproc/diffstat')
-rw-r--r--textproc/diffstat/Makefile9
-rw-r--r--textproc/diffstat/distinfo4
-rw-r--r--textproc/diffstat/files/patch-aa11
-rw-r--r--textproc/diffstat/files/patch-ab11
-rw-r--r--textproc/diffstat/files/patch-ad16
-rw-r--r--textproc/diffstat/files/patch-configure11
6 files changed, 18 insertions, 44 deletions
diff --git a/textproc/diffstat/Makefile b/textproc/diffstat/Makefile
index a85cc0d9a96a..49683838bb6a 100644
--- a/textproc/diffstat/Makefile
+++ b/textproc/diffstat/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= diffstat
-PORTVERSION= 1.34
+PORTVERSION= 1.41
CATEGORIES= textproc devel
MASTER_SITES= ftp://dickey.his.com/diffstat/
EXTRACT_SUFX= .tgz
@@ -15,12 +15,13 @@ MAINTAINER= trevor@FreeBSD.org
COMMENT= Makes a histogram summarizing "diff" output
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+GNU_CONFIGURE= yes
+MAKEFILE= makefile
+
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
diff --git a/textproc/diffstat/distinfo b/textproc/diffstat/distinfo
index 85772efa4c0b..1660ace34255 100644
--- a/textproc/diffstat/distinfo
+++ b/textproc/diffstat/distinfo
@@ -1,2 +1,2 @@
-MD5 (diffstat-1.34.tgz) = 8cf39406d471722499b4d9dacdf367f5
-SIZE (diffstat-1.34.tgz) = 58633
+MD5 (diffstat-1.41.tgz) = c4a55fea8f94dbd1664f76c98da4ee17
+SIZE (diffstat-1.41.tgz) = 98321
diff --git a/textproc/diffstat/files/patch-aa b/textproc/diffstat/files/patch-aa
deleted file mode 100644
index b3ef8a695fa6..000000000000
--- a/textproc/diffstat/files/patch-aa
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.in.orig Fri Jan 16 17:29:21 1998
-+++ configure.in Fri Oct 22 21:56:59 1999
-@@ -18,7 +18,7 @@
- AC_CONST
- AC_STDC_HEADERS
- AC_HAVE_HEADERS(stdlib.h unistd.h)
--AC_HAVE_HEADERS(getopt.h string.h malloc.h)
-+AC_HAVE_HEADERS(string.h)
- AC_TYPE_SIZE_T
-
- ### output makefile and config.h
diff --git a/textproc/diffstat/files/patch-ab b/textproc/diffstat/files/patch-ab
deleted file mode 100644
index 917390300f77..000000000000
--- a/textproc/diffstat/files/patch-ab
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Fri Jan 16 17:33:25 1998
-+++ configure Fri Oct 22 21:57:52 1999
-@@ -1103,7 +1103,7 @@
- fi
- done
-
--for ac_hdr in getopt.h string.h malloc.h
-+for ac_hdr in string.h
- do
- ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
- echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
diff --git a/textproc/diffstat/files/patch-ad b/textproc/diffstat/files/patch-ad
deleted file mode 100644
index 17d4f233a53b..000000000000
--- a/textproc/diffstat/files/patch-ad
+++ /dev/null
@@ -1,16 +0,0 @@
---- diffstat.c.orig Wed Mar 29 16:01:19 2000
-+++ diffstat.c Mon May 8 23:28:20 2000
-@@ -92,13 +92,11 @@
- #ifdef HAVE_MALLOC_H
- #include <malloc.h>
- #else
--extern char *malloc();
- #endif
-
- #ifdef HAVE_GETOPT_H
- #include <getopt.h>
- #else
--extern int getopt();
- extern char *optarg;
- extern int optind;
- #endif
diff --git a/textproc/diffstat/files/patch-configure b/textproc/diffstat/files/patch-configure
new file mode 100644
index 000000000000..dc56d0631741
--- /dev/null
+++ b/textproc/diffstat/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Tue Aug 16 04:41:39 2005
++++ configure Mon Sep 5 14:47:01 2005
+@@ -3455,8 +3455,6 @@
+ done
+
+ for ac_header in \
+-getopt.h \
+-malloc.h \
+ search.h \
+ string.h \
+