Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Feb 2016 10:35:31 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409279 - in head/textproc/html2text: . files
Message-ID:  <201602211035.u1LAZVLK093119@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Feb 21 10:35:30 2016
New Revision: 409279
URL: https://svnweb.freebsd.org/changeset/ports/409279

Log:
  - Clarify LICENSE
  - Add LICENSE_FILE
  - Switch to options helpers
  - Regenerate patches with `make makepatch`

Modified:
  head/textproc/html2text/Makefile
  head/textproc/html2text/files/patch-configure

Modified: head/textproc/html2text/Makefile
==============================================================================
--- head/textproc/html2text/Makefile	Sun Feb 21 10:23:06 2016	(r409278)
+++ head/textproc/html2text/Makefile	Sun Feb 21 10:35:30 2016	(r409279)
@@ -10,7 +10,8 @@ MASTER_SITES=	SUNSITE/apps/www/converter
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Converts HTML documents into plain text
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 HAS_CONFIGURE=	yes
 
@@ -21,6 +22,8 @@ CONFLICTS=	py27-html2text-[0-9]*
 
 PORTSCOUT=	skipb:0 skipv:1.3.2
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e '/echo=/s/ -e//' ${WRKSRC}/configure
 .for fle in Makefile.in libstd/Makefile.in
@@ -35,9 +38,11 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/html2text ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/html2text.1.gz ${STAGEDIR}${MANPREFIX}/man/man1
 	${INSTALL_MAN} ${WRKSRC}/html2textrc.5.gz ${STAGEDIR}${MANPREFIX}/man/man5
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for fle in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${fle} ${STAGEDIR}${DOCSDIR}
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
 
 .include <bsd.port.mk>

Modified: head/textproc/html2text/files/patch-configure
==============================================================================
--- head/textproc/html2text/files/patch-configure	Sun Feb 21 10:23:06 2016	(r409278)
+++ head/textproc/html2text/files/patch-configure	Sun Feb 21 10:35:30 2016	(r409279)
@@ -1,6 +1,6 @@
---- ./configure.orig	2012-11-11 09:42:22.000000000 -0500
-+++ ./configure	2012-11-11 09:46:01.000000000 -0500
-@@ -38,8 +38,7 @@
+--- configure.orig	2004-01-12 15:47:18 UTC
++++ configure
+@@ -38,8 +38,7 @@ int main(int, char **) {
    return 0;
  }
  EOF
@@ -10,7 +10,7 @@
    if $i -c $tmp_file.C 2>/dev/null; then
      CXX="$i";
      break;
-@@ -205,12 +205,19 @@
+@@ -205,12 +204,19 @@ cat <<EOF >$tmp_file.C;
  #include <new>
  #include <vector>
  using namespace std;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602211035.u1LAZVLK093119>