aboutsummaryrefslogtreecommitdiff
path: root/www/httrack
diff options
context:
space:
mode:
Diffstat (limited to 'www/httrack')
-rw-r--r--www/httrack/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/www/httrack/Makefile b/www/httrack/Makefile
index b8387f1711eb..826097286986 100644
--- a/www/httrack/Makefile
+++ b/www/httrack/Makefile
@@ -3,6 +3,7 @@
PORTNAME= httrack
PORTVERSION= 3.48.21
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://download.httrack.com/ \
http://mirror.httrack.com/ \
@@ -32,7 +33,11 @@ PORTDOCS= *
SHEBANG_FILES= src/webhttrack
-.include <bsd.port.options.mk>
+.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
@@ -46,4 +51,4 @@ post-patch:
post-install:
${INSTALL_DATA} ${WRKSRC}/html/httrack.css ${STAGEDIR}${DOCSDIR}/httrack.css
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>