diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-07-24 18:09:18 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-07-24 18:09:18 +0000 |
commit | a8832532d3fc4f43a475fa788e1410e85b3a5f3a (patch) | |
tree | 742f142b412d70d0269a31ed9d847fe08a6a9ed9 /www/wnews | |
parent | 649912c12cadac9c167fb172036db7a210fc38e3 (diff) | |
download | ports-a8832532d3fc4f43a475fa788e1410e85b3a5f3a.tar.gz ports-a8832532d3fc4f43a475fa788e1410e85b3a5f3a.zip |
Notes
Diffstat (limited to 'www/wnews')
-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 7a714e9581d9..deab2e106f77 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 2373328ebe74..392705e40216 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 |