diff --git a/textproc/html2text/Makefile b/textproc/html2text/Makefile
index 71fa9e236b9b..cd5a2b1a9417 100644
--- a/textproc/html2text/Makefile
+++ b/textproc/html2text/Makefile
@@ -1,48 +1,44 @@
# Created by: Simon 'corecode' Schubert
# $FreeBSD$
PORTNAME= html2text
PORTVERSION= 1.3.2a
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
http://www.mbayer.de/html2text/downloads/
MASTER_SITE_SUBDIR= apps/www/converters
MAINTAINER= eadler@FreeBSD.org
COMMENT= Converts HTML documents into plain text
LICENSE= GPLv2
HAS_CONFIGURE= yes
PORTDOCS= CHANGES CREDITS KNOWN_BUGS README TODO
PLIST_FILES= bin/html2text man/man1/html2text.1.gz man/man5/html2textrc.5.gz
CONFLICTS= py27-html2text-[0-9]*
PORTSCOUT= skipb:0 skipv:1.3.2
-.include
-
post-patch:
@${REINPLACE_CMD} -e '/echo=/s/ -e//' ${WRKSRC}/configure
.for fle in Makefile.in libstd/Makefile.in
@${REINPLACE_CMD} -e '/^DEBUG/s/^/#/; \
/^CXXFLAGS/s/=/+=/' ${WRKSRC}/${fle}
.endfor
.for fle in Area.h HTMLControl.h Properties.h format.h
@${REINPLACE_CMD} -e 's///' ${WRKSRC}/${fle}
.endfor
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
-.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for fle in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${fle} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include