aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-08-30 11:56:31 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-08-30 11:56:31 +0800
commit941f5ba4bab3e80973bed23dedeec17692101e5b (patch)
tree6d8e76c1d3e9fdc4b7d4535307451f256098b7f8
parent255c66c10621822455f1c3e0d7de3b4c69b1e03e (diff)
downloadfreebsd-ports-graphics-941f5ba4bab3e80973bed23dedeec17692101e5b.tar.gz
freebsd-ports-graphics-941f5ba4bab3e80973bed23dedeec17692101e5b.tar.zst
freebsd-ports-graphics-941f5ba4bab3e80973bed23dedeec17692101e5b.zip
- Convert to new options variable helper
-rw-r--r--www/httrack/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/www/httrack/Makefile b/www/httrack/Makefile
index 82609728698..0cc17e526a3 100644
--- a/www/httrack/Makefile
+++ b/www/httrack/Makefile
@@ -33,16 +33,14 @@ PORTDOCS= *
SHEBANG_FILES= src/webhttrack
+ICONS_VARS= INSTALLS_ICONS=yes
+
.include <bsd.port.pre.mk>
.if empty(ICONV_LIB)
CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv=no
.endif
-.if ${PORT_OPTIONS:MICONS}
-INSTALLS_ICONS= yes
-.endif
-
post-patch:
@${REINPLACE_CMD} -e '/DEFAULT_CFLAGS=/ s|-O -g3 ||g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/ install-data-hook/d' ${WRKSRC}/html/Makefile.in