From af07263bc22a383a154e065c3e9ed0a00aff62a4 Mon Sep 17 00:00:00 2001 From: mharo Date: Sat, 18 Aug 2001 06:58:47 +0000 Subject: - Update to the latest version, 0.9.4. - Add installation of some documentation. PR: 29835 Submitted by: maintainer --- textproc/pardiff/Makefile | 12 +++++++++++- textproc/pardiff/distinfo | 2 +- textproc/pardiff/files/patch-pardiff-pardiff.c | 20 -------------------- textproc/pardiff/pkg-plist | 4 ++++ 4 files changed, 16 insertions(+), 22 deletions(-) delete mode 100644 textproc/pardiff/files/patch-pardiff-pardiff.c (limited to 'textproc/pardiff') diff --git a/textproc/pardiff/Makefile b/textproc/pardiff/Makefile index 81c38376..0e8159a 100644 --- a/textproc/pardiff/Makefile +++ b/textproc/pardiff/Makefile @@ -6,7 +6,7 @@ # PORTNAME= pardiff -PORTVERSION= 0.9.3 +PORTVERSION= 0.9.4 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pardiff @@ -17,4 +17,14 @@ GNU_CONFIGURE= yes MAN1= pardiff.1 diffp.1 +DOCS= AUTHORS ChangeLog README + +post-install: +.if !defined(NOPORTDOCS) + @${INSTALL} -d -m 0755 ${PREFIX}/share/doc/pardiff +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/pardiff/ +.endfor +.endif + .include diff --git a/textproc/pardiff/distinfo b/textproc/pardiff/distinfo index 51e0a7a..4ab7629 100644 --- a/textproc/pardiff/distinfo +++ b/textproc/pardiff/distinfo @@ -1 +1 @@ -MD5 (pardiff-0.9.3.tar.gz) = 88d4568156e07930d571ee0bcf634d6d +MD5 (pardiff-0.9.4.tar.gz) = b245982bfc9c90554c894196d3c7de52 diff --git a/textproc/pardiff/files/patch-pardiff-pardiff.c b/textproc/pardiff/files/patch-pardiff-pardiff.c deleted file mode 100644 index 0d70493..0000000 --- a/textproc/pardiff/files/patch-pardiff-pardiff.c +++ /dev/null @@ -1,20 +0,0 @@ ---- pardiff/pardiff.c.orig Sat Jul 7 07:54:35 2001 -+++ pardiff/pardiff.c Sun Jul 8 15:30:10 2001 -@@ -23,7 +23,7 @@ - - /* include files to determine the width of the output terminal */ - #include --#include -+#include - - - #else -@@ -314,7 +314,7 @@ - * Preprocess lines to get a consistent EOL - */ - if (convertCrlf) { -- line_len = strnlen(nextline, PARDIFF_LINE_BUF_SIZE); -+ line_len = strlen(nextline); - if (line_len > 2 && nextline[line_len - 2] == 0xd) { - nextline[line_len - 2] = '\n'; - nextline[line_len - 1] = '\0'; diff --git a/textproc/pardiff/pkg-plist b/textproc/pardiff/pkg-plist index 5deba28..5bde8d2 100644 --- a/textproc/pardiff/pkg-plist +++ b/textproc/pardiff/pkg-plist @@ -1,2 +1,6 @@ bin/pardiff bin/diffp +%%PORTDOCS%%share/doc/pardiff/AUTHORS +%%PORTDOCS%%share/doc/pardiff/ChangeLog +%%PORTDOCS%%share/doc/pardiff/README +%%PORTDOCS%%@dirrm share/doc/pardiff -- cgit v1.1