diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/dillo/Makefile | 16 | ||||
-rw-r--r-- | www/dillo2/Makefile | 16 |
2 files changed, 30 insertions, 2 deletions
diff --git a/www/dillo/Makefile b/www/dillo/Makefile index 25e37e6cfb4d..a4f6b66f177f 100644 --- a/www/dillo/Makefile +++ b/www/dillo/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> 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> |