diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-06-03 02:01:42 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-06-03 02:01:42 +0000 |
commit | 81ad32b80c77c9ba15b694bb808316c10f781965 (patch) | |
tree | 6146a32f4628d992f71129beb4dd669200c0c74e /www/dillo-i18n/Makefile | |
parent | 56eb97f04a98eb71413f708413079990769ee841 (diff) | |
download | ports-81ad32b80c77c9ba15b694bb808316c10f781965.tar.gz ports-81ad32b80c77c9ba15b694bb808316c10f781965.zip |
Notes
Diffstat (limited to 'www/dillo-i18n/Makefile')
-rw-r--r-- | www/dillo-i18n/Makefile | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/www/dillo-i18n/Makefile b/www/dillo-i18n/Makefile index 11be37f306e5..df7441cd73fd 100644 --- a/www/dillo-i18n/Makefile +++ b/www/dillo-i18n/Makefile @@ -9,6 +9,8 @@ # WITH_DILLO_META-REFRESH: make dillo accept the meta-refresh tag # WITHOUT_DILLO_TABS: disable support for tabbed browsing # WITHOUT_DILLO_ANTIALIAS: disable support for antialiased display +# WITH_DILLO_DLGUI: enable experimental FLTK2 based gui for file +# downloads # # TODO: # SSL support is currently partly broken in this version of the i18n dillo: @@ -41,7 +43,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 CONFLICTS= dillo-[0-9].[0-9].[0-9]* @@ -83,6 +84,15 @@ CONFIGURE_ARGS+= --enable-anti-alias CONFIGURE_ARGS+= --disable-anti-alias .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 + post-patch: @${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g ; \ s|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g' ${WRKSRC}/configure @@ -110,6 +120,12 @@ pre-configure: @${ECHO_CMD} " Set WITHOUT_DILLO_ANTIALIAS=yes in your make environment or on the" @${ECHO_CMD} " commandline to disable support for antialiased fonts." .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> |