diff options
-rw-r--r-- | www/wnews/Makefile | 19 | ||||
-rw-r--r-- | www/wnews/distinfo | 4 |
2 files changed, 19 insertions, 4 deletions
diff --git a/www/wnews/Makefile b/www/wnews/Makefile index 7a714e9581d..deab2e106f7 100644 --- a/www/wnews/Makefile +++ b/www/wnews/Makefile @@ -6,7 +6,7 @@ # PORTNAME= wnews -PORTVERSION= 0.7 +PORTVERSION= 0.8 CATEGORIES= www MASTER_SITES= http://samy.kerneled.org/stuff/ @@ -17,7 +17,22 @@ MAN1= wnews.1 MANCOMPRESSED= yes PLIST_FILES= bin/wnews +USE_REINPLACE= yes USE_GMAKE= yes GNU_CONFIGURE= yes +WANT_GNOME= yes -.include <bsd.port.mk> +OPTIONS= GTK2 "build the GTK+ 2.0 interface" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_GTK2) +CONFIGURE_ARGS+=--with-gtk2 +USE_GNOME+= gtk20 +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|\(GTKCFLAGS="\)|\1${PTHREAD_CFLAGS} |; \ + s|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/configure + +.include <bsd.port.post.mk> diff --git a/www/wnews/distinfo b/www/wnews/distinfo index 2373328ebe7..392705e4021 100644 --- a/www/wnews/distinfo +++ b/www/wnews/distinfo @@ -1,2 +1,2 @@ -MD5 (wnews-0.7.tar.gz) = 123aa9ba62e8184a11ab7397fa11aad5 -SIZE (wnews-0.7.tar.gz) = 50432 +MD5 (wnews-0.8.tar.gz) = 541c9170f4324eafaf78ca5cfb9efab5 +SIZE (wnews-0.8.tar.gz) = 62489 |