diff options
author | mharo <mharo@FreeBSD.org> | 2001-08-18 06:58:47 +0000 |
---|---|---|
committer | mharo <mharo@FreeBSD.org> | 2001-08-18 06:58:47 +0000 |
commit | af07263bc22a383a154e065c3e9ed0a00aff62a4 (patch) | |
tree | 92213bad70283b59cd3d7f2395ed39a58a7d4b55 /textproc/pardiff | |
parent | fb9ec6832d1f209783edcf94a1f3a71c0fad4e95 (diff) | |
download | FreeBSD-ports-af07263bc22a383a154e065c3e9ed0a00aff62a4.zip FreeBSD-ports-af07263bc22a383a154e065c3e9ed0a00aff62a4.tar.gz |
- Update to the latest version, 0.9.4.
- Add installation of some documentation.
PR: 29835
Submitted by: maintainer
Diffstat (limited to 'textproc/pardiff')
-rw-r--r-- | textproc/pardiff/Makefile | 12 | ||||
-rw-r--r-- | textproc/pardiff/distinfo | 2 | ||||
-rw-r--r-- | textproc/pardiff/files/patch-pardiff-pardiff.c | 20 | ||||
-rw-r--r-- | textproc/pardiff/pkg-plist | 4 |
4 files changed, 16 insertions, 22 deletions
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 <bsd.port.mk> 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 <fcntl.h> --#include <termio.h> -+#include <sys/ttycom.h> - - - #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 |