ports/131826: Update port: textproc/unrtf to 0.21.0

KATO Tsuguru tkato432 at yahoo.com
Wed Feb 18 17:30:03 UTC 2009


>Number:         131826
>Category:       ports
>Synopsis:       Update port: textproc/unrtf to 0.21.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 18 17:30:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.1-RELEASE-p1 i386
>Organization:
>Environment:
>Description:
- Update to version 0.21.0

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/textproc/unrtf/Makefile textproc/unrtf/Makefile
--- /usr/ports/textproc/unrtf/Makefile	2008-01-11 16:25:39.000000000 +0900
+++ textproc/unrtf/Makefile	2009-02-05 02:01:09.000000000 +0900
@@ -5,17 +5,37 @@
 # $FreeBSD: ports/textproc/unrtf/Makefile,v 1.19 2008/01/10 23:19:06 miwi Exp $
 
 PORTNAME=	unrtf
-PORTVERSION=	0.20.5
+PORTVERSION=	0.21.0
 CATEGORIES=	textproc
 MASTER_SITES=	GNU
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	A converter from RTF to several formats, including HTML and LaTeX
 
-USE_GNOME=	gnometarget
+USE_ICONV=	yes
+USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS=	--libdir=${PREFIX}/share
 
 MAN1=		unrtf.1
-PLIST_FILES=	bin/unrtf
+PLIST_FILES=	bin/unrtf \
+		%%DATADIR%%/charmaps/SYMBOL \
+		%%DATADIR%%/outputs/html \
+		%%DATADIR%%/outputs/latex \
+		%%DATADIR%%/outputs/rtf \
+		%%DATADIR%%/outputs/text \
+		%%DATADIR%%/outputs/vt
+PLIST_DIRS=	%%DATADIR%%/outputs \
+		%%DATADIR%%/charmaps \
+		%%DATADIR%%
+
+CPPFLAGS=	-I${LOCALBASE}/include
+LDFLAGS=	-L${LOCALBASE}/lib -liconv
+
+post-patch:
+	@${FIND} ${WRKSRC} -name "*.[1h]" -print0 | ${XARGS} -0 \
+		${REINPLACE_CMD} -e \
+		's|/usr/local/lib/unrtf/|${DATADIR}/|g'
 
 .include <bsd.port.mk>
diff -urN /usr/ports/textproc/unrtf/distinfo textproc/unrtf/distinfo
--- /usr/ports/textproc/unrtf/distinfo	2008-01-11 16:25:39.000000000 +0900
+++ textproc/unrtf/distinfo	2009-02-05 01:34:00.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (unrtf-0.20.5.tar.gz) = 6a972d275bee7ca812458561a436095b
-SHA256 (unrtf-0.20.5.tar.gz) = ad484e0fc573482c586177627d7c79f2a94deb022caae3a04a0c56af10b3ff92
-SIZE (unrtf-0.20.5.tar.gz) = 425417
+MD5 (unrtf-0.21.0.tar.gz) = 8d1f8617d6813308c310f111145c7cb9
+SHA256 (unrtf-0.21.0.tar.gz) = 3be1b49b7d3b1f7d915cf1821d2916444c45034a3a79dd46dbb4fc0453ca97f0
+SIZE (unrtf-0.21.0.tar.gz) = 626157
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list