aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/pardiff
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2001-08-18 14:58:47 +0800
committermharo <mharo@FreeBSD.org>2001-08-18 14:58:47 +0800
commitaf07263bc22a383a154e065c3e9ed0a00aff62a4 (patch)
tree92213bad70283b59cd3d7f2395ed39a58a7d4b55 /textproc/pardiff
parentfb9ec6832d1f209783edcf94a1f3a71c0fad4e95 (diff)
downloadfreebsd-ports-gnome-af07263bc22a383a154e065c3e9ed0a00aff62a4.tar.gz
freebsd-ports-gnome-af07263bc22a383a154e065c3e9ed0a00aff62a4.tar.zst
freebsd-ports-gnome-af07263bc22a383a154e065c3e9ed0a00aff62a4.zip
- 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/Makefile12
-rw-r--r--textproc/pardiff/distinfo2
-rw-r--r--textproc/pardiff/files/patch-pardiff-pardiff.c20
-rw-r--r--textproc/pardiff/pkg-plist4
4 files changed, 16 insertions, 22 deletions
diff --git a/textproc/pardiff/Makefile b/textproc/pardiff/Makefile
index 81c383762388..0e8159a17e8e 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 51e0a7a2b315..4ab762992411 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 0d7049379656..000000000000
--- 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 5deba282c42e..5bde8d266b6c 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