diff options
author | eadler <eadler@FreeBSD.org> | 2012-10-20 23:13:06 +0800 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-10-20 23:13:06 +0800 |
commit | ee76075c7fc5bd93f3c32bde63d3ac006c68f6f9 (patch) | |
tree | d644828d42025ff2f1d2cb45a3fb3e53a58a2e6d /textproc | |
parent | 7adc80d7d995c0520fe4eaac59d6096fef0b1894 (diff) | |
download | freebsd-ports-gnome-ee76075c7fc5bd93f3c32bde63d3ac006c68f6f9.tar.gz freebsd-ports-gnome-ee76075c7fc5bd93f3c32bde63d3ac006c68f6f9.tar.zst freebsd-ports-gnome-ee76075c7fc5bd93f3c32bde63d3ac006c68f6f9.zip |
Convert to OptionsNG
Clean up port a bit
Feature safe: yes
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/html2text/Makefile | 5 |
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} |