Date: Mon, 30 Aug 2004 07:00:21 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/71125: Update port: textproc/html2text to 1.3.2a Message-ID: <20040830070021.71fc00c2.tkato432@yahoo.com> Resent-Message-ID: <200408292210.i7TMANAb033993@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 71125 >Category: ports >Synopsis: Update port: textproc/html2text to 1.3.2a >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: Sun Aug 29 22:10:23 GMT 2004 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.10-RELEASE-p2 i386 >Organization: >Environment: >Description: - Update to version 1.3.2a Remove file: files/patch-format.C pkg-plist >How-To-Repeat: >Fix: diff -urN /usr/ports/textproc/html2text/Makefile textproc/html2text/Makefile --- /usr/ports/textproc/html2text/Makefile Fri Feb 13 21:44:02 2004 +++ textproc/html2text/Makefile Mon Aug 30 04:36:24 2004 @@ -6,37 +6,44 @@ # PORTNAME= html2text -PORTVERSION= 1.3.2 +PORTVERSION= 1.3.2a CATEGORIES= textproc -MASTER_SITES= http://userpage.fu-berlin.de/~mbayer/tools/ \ - ftp://ftp.ibiblio.org/pub/linux/apps/www/converters/ +MASTER_SITES= ${MASTER_SITE_SUNSITE} \ + http://userpage.fu-berlin.de/~mbayer/tools/ +MASTER_SITE_SUBDIR= apps/www/converters MAINTAINER= ports@FreeBSD.org COMMENT= Converts HTML documents into plain text USE_REINPLACE= yes -GNU_CONFIGURE= yes -MANCOMPRESSED= yes - -MAN1= html2text.1 -MAN5= html2textrc.5 +HAS_CONFIGURE= yes +MAKE_ARGS= CXX="${CXX}" -DOCS= CHANGES COPYING CREDITS KNOWN_BUGS README TODO - -.include <bsd.port.pre.mk> +MANCOMPRESSED= yes +MAN1= html2text.1 +MAN5= html2textrc.5 +PORTDOCS= CHANGES CREDITS KNOWN_BUGS README TODO +PLIST_FILES= bin/html2text post-patch: @${REINPLACE_CMD} -e '/echo=/s/ -e//' ${WRKSRC}/configure - @${REINPLACE_CMD} -e '/^DEBUG/s/^/#/; /^CXXFLAGS/s/=/+=/' \ - ${WRKSRC}/Makefile.in ${WRKSRC}/libstd/Makefile.in +.for file in Makefile.in libstd/Makefile.in + @${REINPLACE_CMD} -e '/^DEBUG/s/^/#/; \ + /^CXXFLAGS/s/=/+=/' ${WRKSRC}/${file} +.endfor +.for file in Area.h HTMLControl.h Properties.h format.h + @${REINPLACE_CMD} -e 's/<istream>/<iostream>/' ${WRKSRC}/${file} +.endfor do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/html2text ${PREFIX}/bin - @${INSTALL_MAN} ${WRKSRC}/html2text.1.gz ${MANPREFIX}/man/man1 - @${INSTALL_MAN} ${WRKSRC}/html2textrc.5.gz ${MANPREFIX}/man/man5 + ${INSTALL_PROGRAM} ${WRKSRC}/html2text ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/html2text.1.gz ${MANPREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/html2textrc.5.gz ${MANPREFIX}/man/man5 .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${DOCS:C#^#${WRKSRC}/#g} ${DOCSDIR} +.for file in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff -urN /usr/ports/textproc/html2text/distinfo textproc/html2text/distinfo --- /usr/ports/textproc/html2text/distinfo Fri Feb 13 21:44:02 2004 +++ textproc/html2text/distinfo Mon Aug 30 04:25:47 2004 @@ -1,2 +1,2 @@ -MD5 (html2text-1.3.2.tar.gz) = 14b091c7c5cb5c3bc2ce19298a0c0e27 -SIZE (html2text-1.3.2.tar.gz) = 131336 +MD5 (html2text-1.3.2a.tar.gz) = 6097fe07b948e142315749e6620c9cfc +SIZE (html2text-1.3.2a.tar.gz) = 130088 diff -urN /usr/ports/textproc/html2text/files/patch-format.C textproc/html2text/files/patch-format.C --- /usr/ports/textproc/html2text/files/patch-format.C Fri Feb 13 18:37:20 2004 +++ textproc/html2text/files/patch-format.C Thu Jan 1 09:00:00 1970 @@ -1,19 +0,0 @@ ---- format.C Mon Jul 29 20:12:13 2002 -+++ format.C Thu Feb 5 22:47:07 2004 -@@ -34,7 +34,7 @@ - /***************************************************************************/ - - --#include <strstream.h> -+#include <strstream> - - #include <stdlib.h> - #include <ctype.h> -@@ -50,6 +50,7 @@ - - using std::endl; - using std::flush; -+using std::ostrstream; - - #ifndef nelems - #define nelems(array) (sizeof(array) / sizeof((array)[0])) diff -urN /usr/ports/textproc/html2text/pkg-plist textproc/html2text/pkg-plist --- /usr/ports/textproc/html2text/pkg-plist Thu Mar 27 11:09:23 2003 +++ textproc/html2text/pkg-plist Thu Jan 1 09:00:00 1970 @@ -1,8 +0,0 @@ -bin/html2text -%%PORTDOCS%%%%DOCSDIR%%/CHANGES -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/CREDITS -%%PORTDOCS%%%%DOCSDIR%%/KNOWN_BUGS -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%@dirrm %%DOCSDIR%% >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040830070021.71fc00c2.tkato432>