svn commit: r306186 - head/textproc/html2text
Eitan Adler
eadler at FreeBSD.org
Sat Oct 20 15:13:06 UTC 2012
Author: eadler
Date: Sat Oct 20 15:13:06 2012
New Revision: 306186
URL: http://svn.freebsd.org/changeset/ports/306186
Log:
Convert to OptionsNG
Clean up port a bit
Feature safe: yes
Modified:
head/textproc/html2text/Makefile
Modified: head/textproc/html2text/Makefile
==============================================================================
--- head/textproc/html2text/Makefile Sat Oct 20 15:08:14 2012 (r306185)
+++ head/textproc/html2text/Makefile Sat Oct 20 15:13:06 2012 (r306186)
@@ -12,7 +12,6 @@ MAINTAINER= eadler at 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}
More information about the svn-ports-head
mailing list