From a2104477066971c2b824ee9b8cfaaab59357edb2 Mon Sep 17 00:00:00 2001 From: mezz Date: Sat, 15 Jul 2006 22:25:23 +0000 Subject: Update to 1.0.4. --- net/bfilter/Makefile | 27 ++++++++++++++++++++------- net/bfilter/distinfo | 6 +++--- net/bfilter/pkg-plist | 11 +++++++---- 3 files changed, 30 insertions(+), 14 deletions(-) (limited to 'net') diff --git a/net/bfilter/Makefile b/net/bfilter/Makefile index fb76cbde2162..640d702ec30c 100644 --- a/net/bfilter/Makefile +++ b/net/bfilter/Makefile @@ -6,7 +6,7 @@ # PORTNAME= bfilter -PORTVERSION= 0.10.3 +PORTVERSION= 1.0.4 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -24,16 +24,29 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ USE_RC_SUBR= bfilter.sh .if defined(WITH_DEBUG) -CONFIGURE_ARGS+= --enable-debug +CONFIGURE_ARGS+=--enable-debug .endif .if defined(WITH_GUI) -USE_GNOME= gtk20 pkgconfig -LIB_DEPENDS+= gtkmm-2.0:${PORTSDIR}/x11-toolkits/gtkmm20 -CONFIGURE_ARGS+= --with-gui -PLIST_SUB+= WITH_GUI="" +LIB_DEPENDS+= gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24 +CONFIGURE_ARGS+=--with-gui +PLIST_SUB+= GUI="" .else -PLIST_SUB+= WITH_GUI="@comment " +PLIST_SUB+= GUI="@comment " +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' \ + ${WRKSRC}/configure + +post-install: +.if defined(WITH_GUI) + @${MKDIR} ${PREFIX}/share/applications + @${INSTALL_DATA} ${WRKSRC}/bfilter.desktop \ + ${PREFIX}/share/applications/ + @${MKDIR} ${PREFIX}/share/pixmaps + @${INSTALL_DATA} ${WRKSRC}/bfilter.png \ + ${PREFIX}/share/pixmaps/ .endif .include diff --git a/net/bfilter/distinfo b/net/bfilter/distinfo index c9e909007c0e..e3c09983210b 100644 --- a/net/bfilter/distinfo +++ b/net/bfilter/distinfo @@ -1,3 +1,3 @@ -MD5 (bfilter-0.10.3.tar.gz) = fde0a7280819d061c36a283cf85e33c4 -SHA256 (bfilter-0.10.3.tar.gz) = 2941ef357a8882962713bc2c838c089ad756556a44a5dd5694963fb3d77e999b -SIZE (bfilter-0.10.3.tar.gz) = 2555426 +MD5 (bfilter-1.0.4.tar.gz) = d0f689876d0fd76a9308470e46ca887b +SHA256 (bfilter-1.0.4.tar.gz) = 0b7c34e2794061c1758c5a163014966574105678e43517b5536a55b8319fadcb +SIZE (bfilter-1.0.4.tar.gz) = 2607584 diff --git a/net/bfilter/pkg-plist b/net/bfilter/pkg-plist index 8edcfd9166c7..0b955985c78b 100644 --- a/net/bfilter/pkg-plist +++ b/net/bfilter/pkg-plist @@ -1,10 +1,13 @@ bin/bfilter +%%GUI%%bin/bfilter-gui +etc/bfilter/config etc/bfilter/config.default -etc/bfilter/urls -etc/bfilter/filters/PopUp filter etc/bfilter/filters/Common annoyances filter -etc/bfilter/config +etc/bfilter/filters/PopUp filter +etc/bfilter/urls etc/bfilter/urls.local -%%WITH_GUI%%bin/bfilter-gui +%%GUI%%share/applications/bfilter.desktop +%%GUI%%share/pixmaps/bfilter.png +%%GUI%%@dirrmtry share/applications @dirrm etc/bfilter/filters @dirrm etc/bfilter -- cgit