diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-06-03 02:01:25 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-06-03 02:01:25 +0000 |
commit | 56eb97f04a98eb71413f708413079990769ee841 (patch) | |
tree | b0e8a1ad716a7425ac4f2023031323bbc2f2d103 /www/dillo2 | |
parent | c913eb1b4ddcf532e0b244d58584d7e0549f1631 (diff) | |
download | ports-56eb97f04a98eb71413f708413079990769ee841.tar.gz ports-56eb97f04a98eb71413f708413079990769ee841.zip |
Notes
Diffstat (limited to 'www/dillo2')
-rw-r--r-- | www/dillo2/Makefile | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/www/dillo2/Makefile b/www/dillo2/Makefile index 25e37e6cfb4d..a4f6b66f177f 100644 --- a/www/dillo2/Makefile +++ b/www/dillo2/Makefile @@ -6,6 +6,7 @@ # # Tunables: # WITH_DILLO_SSL: enable experimental SSL support +# WITH_DILLO_DLGUI: enable experimental FLTK2 based gui for file downloads # PORTNAME= dillo @@ -29,7 +30,6 @@ LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \ LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --enable-cookies --enable-ipv6 --enable-threaded-dns \ - --disable-dlgui \ --libdir=${PREFIX}/libexec .if defined(WITH_DILLO_SSL) @@ -40,6 +40,15 @@ USE_OPENSSL= yes CONFIGURE_ARGS+= --disable-ssl .endif +.if defined(WITH_DILLO_DLGUI) +CONFIGURE_ARGS+= --enable-dlgui +BUILD_DEPENDS+= fltk>=2.0.r4825:${PORTSDIR}/x11-toolkits/fltk2 +CPPFLAGS+= -I${X11BASE}/include +LDFLAGS+= -L${X11BASE}/lib +.else +CONFIGURE_ARGS+= --disable-dlgui +.endif + CONFLICTS= dillo-i18n-*[0-9]* post-patch: @@ -54,6 +63,11 @@ pre-configure: @${ECHO_CMD} " Set WITH_DILLO_SSL=yes in your make environment or on the" @${ECHO_CMD} " commandline to enable experimental SSL support." .endif +.if !defined(WITH_DILLO_DLGUI) + @${ECHO_CMD} "" + @${ECHO_CMD} " Set WITH_DILLO_DLGUI=yes in your make environment or on the" + @${ECHO_CMD} " commandline to enable a FLTK2 based gui for download operations." +.endif @${ECHO_CMD} "" .include <bsd.port.mk> |