aboutsummaryrefslogtreecommitdiff
path: root/textproc/unrtf
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2006-06-12 01:49:56 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2006-06-12 01:49:56 +0000
commitc0c080a15f400e68f17398f53aff301ec6101131 (patch)
tree3fe944aa8cc6311aae274736436870de1c82e859 /textproc/unrtf
parent0c3f54a6764d40452fef2a2eec934469f16a6466 (diff)
downloadports-c0c080a15f400e68f17398f53aff301ec6101131.tar.gz
ports-c0c080a15f400e68f17398f53aff301ec6101131.zip
upgrade to 0.20.1
PR: 98829 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=165163
Diffstat (limited to 'textproc/unrtf')
-rw-r--r--textproc/unrtf/Makefile14
-rw-r--r--textproc/unrtf/distinfo6
-rw-r--r--textproc/unrtf/files/patch-convert.c11
3 files changed, 8 insertions, 23 deletions
diff --git a/textproc/unrtf/Makefile b/textproc/unrtf/Makefile
index c9cf1583964b..96121c8ebc0f 100644
--- a/textproc/unrtf/Makefile
+++ b/textproc/unrtf/Makefile
@@ -5,26 +5,22 @@
# $FreeBSD$
PORTNAME= unrtf
-PORTVERSION= 0.19.3
-PORTREVISION= 1
+PORTVERSION= 0.20.1
+PORTREVISION= 0
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A converter from RTF to several formats, including HTML and LaTeX
-ALL_TARGET= unrtf
+USE_GNOME= gnometarget
+GNU_CONFIGURE= yes
MAN1= unrtf.1
PLIST_FILES= bin/unrtf
-post-patch:
- @${REINPLACE_CMD} -e "s|^CC|#CC| ; s|^CFLAGS|#CFLAGS| ; \
- s| ||" ${WRKSRC}/Makefile
- @${REINPLACE_CMD} -e "s|<malloc\.h>|<stdlib.h>|" ${WRKSRC}/malloc.c
- ${REINPLACE_CMD} -e 's/printf (op->\(.*\))/printf (op->\1 == NULL ? "" : op->\1)/' ${WRKSRC}/convert.c
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unrtf ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/unrtf.1 ${MAN1PREFIX}/man/man1
diff --git a/textproc/unrtf/distinfo b/textproc/unrtf/distinfo
index d2cceaa3be6d..df596b9478e7 100644
--- a/textproc/unrtf/distinfo
+++ b/textproc/unrtf/distinfo
@@ -1,3 +1,3 @@
-MD5 (unrtf-0.19.3.tar.gz) = e7eedca559efd94baf6f9541d7510a9b
-SHA256 (unrtf-0.19.3.tar.gz) = 5aaede80baf733a79deb13210ff332c138f0add9611a51f12ef752298838e24f
-SIZE (unrtf-0.19.3.tar.gz) = 127770
+MD5 (unrtf_0.20.1.tar.gz) = 333b77c0db24c221042ef586bffd7a04
+SHA256 (unrtf_0.20.1.tar.gz) = 7fe6cc73320205d8c375980c547e8b8a7c1fcee0a73fd0086445646017722df5
+SIZE (unrtf_0.20.1.tar.gz) = 153124
diff --git a/textproc/unrtf/files/patch-convert.c b/textproc/unrtf/files/patch-convert.c
deleted file mode 100644
index 35fa047d08a1..000000000000
--- a/textproc/unrtf/files/patch-convert.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- convert.c.orig Sun Jan 30 13:34:16 2005
-+++ convert.c Sun Jan 30 13:35:36 2005
-@@ -341,7 +341,7 @@
- while(w2) {
- tmp = word_string (w2);
- if (tmp && tmp[0] != '\\')
-- strcat(name,tmp);
-+ strncat(name,tmp,sizeof(name)-strlen(name)-1);
-
- w2=w2->next;
- }