aboutsummaryrefslogtreecommitdiff
path: root/textproc/html2text
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-10-20 15:13:06 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-10-20 15:13:06 +0000
commit3490135973c93cc4dd2093b4cd93bc492c8bf5b9 (patch)
treed644828d42025ff2f1d2cb45a3fb3e53a58a2e6d /textproc/html2text
parentbe2dd991ea32b6f725688aec199707e9094a3253 (diff)
downloadports-3490135973c93cc4dd2093b4cd93bc492c8bf5b9.tar.gz
ports-3490135973c93cc4dd2093b4cd93bc492c8bf5b9.zip
Convert to OptionsNG
Clean up port a bit Feature safe: yes
Notes
Notes: svn path=/head/; revision=306186
Diffstat (limited to 'textproc/html2text')
-rw-r--r--textproc/html2text/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/textproc/html2text/Makefile b/textproc/html2text/Makefile
index c8949fd62a95..4c21a9375b03 100644
--- a/textproc/html2text/Makefile
+++ b/textproc/html2text/Makefile
@@ -12,7 +12,6 @@ MAINTAINER= eadler@FreeBSD.org
COMMENT= Converts HTML documents into plain text
HAS_CONFIGURE= yes
-MAKE_ARGS= CXX="${CXX}"
MANCOMPRESSED= yes
MAN1= html2text.1
@@ -22,6 +21,8 @@ PLIST_FILES= bin/html2text
CONFLICTS= py27-html2text-[0-9]*
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e '/echo=/s/ -e//' ${WRKSRC}/configure
.for file in Makefile.in libstd/Makefile.in
@@ -36,7 +37,7 @@ 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
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}