aboutsummaryrefslogtreecommitdiff
path: root/www/dillo/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-10-28 15:23:34 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-10-28 15:23:34 +0000
commit824dc5a1d6bd9d904b9bacd0a48292d97db6a2a5 (patch)
treef04ebabdd2472f842bd9bec3ff6dca794068cbd4 /www/dillo/Makefile
parentc7d81b3b6e7c1ebe1cac19ea6f7d6b4c88be458e (diff)
downloadports-824dc5a1d6bd9d904b9bacd0a48292d97db6a2a5.tar.gz
ports-824dc5a1d6bd9d904b9bacd0a48292d97db6a2a5.zip
Notes
Diffstat (limited to 'www/dillo/Makefile')
-rw-r--r--www/dillo/Makefile23
1 files changed, 21 insertions, 2 deletions
diff --git a/www/dillo/Makefile b/www/dillo/Makefile
index 284d69b69a7a..4224716da5be 100644
--- a/www/dillo/Makefile
+++ b/www/dillo/Makefile
@@ -4,9 +4,12 @@
#
# $FreeBSD$
#
+# Tunables:
+# WITH_DILLO_SSL: enable experimental SSL support
+#
PORTNAME= dillo
-PORTVERSION= 0.8.2
+PORTVERSION= 0.8.3
CATEGORIES= www
MASTER_SITES= http://www.dillo.org/download/
@@ -24,7 +27,14 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS= --enable-ipv6
+CONFIGURE_ARGS= --enable-ipv6 --libdir=${PREFIX}/libexec
+
+.if defined(WITH_DILLO_SSL)
+CONFIGURE_ARGS+= --enable-ssl
+USE_OPENSSL= yes
+.else
+CONFIGURE_ARGS+= --disable-ssl
+.endif
post-patch:
@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g ; \
@@ -32,4 +42,13 @@ post-patch:
@${REINPLACE_CMD} -e 's|dillorc|dillorc.sample|g' ${WRKSRC}/Makefile.in
@${CP} ${WRKSRC}/dillorc ${WRKSRC}/dillorc.sample
+pre-configure:
+.if !defined(WITH_DILLO_SSL)
+ @${ECHO_CMD} ""
+ @${ECHO_CMD} " You can enable dillo's experimental SSL support by specifing"
+ @${ECHO_CMD} " WITH_DILLO_SSL=yes in your make environment or on the"
+ @${ECHO_CMD} " commandline."
+ @${ECHO_CMD} ""
+.endif
+
.include <bsd.port.mk>