aboutsummaryrefslogtreecommitdiffstats
path: root/www/wnews
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-07-25 02:09:18 +0800
committerjylefort <jylefort@FreeBSD.org>2005-07-25 02:09:18 +0800
commitd4cacbb27dc2df57baf11e98f178603ecf031f48 (patch)
treeb77bb1508821cbbee863e89cafdc1556c659c2b0 /www/wnews
parent46da8f59077176898c61f21a9d7920b404a2bd65 (diff)
downloadfreebsd-ports-gnome-d4cacbb27dc2df57baf11e98f178603ecf031f48.tar.gz
freebsd-ports-gnome-d4cacbb27dc2df57baf11e98f178603ecf031f48.tar.zst
freebsd-ports-gnome-d4cacbb27dc2df57baf11e98f178603ecf031f48.zip
Update to 0.8
PR: ports/83889 Submitted by: maintainer
Diffstat (limited to 'www/wnews')
-rw-r--r--www/wnews/Makefile19
-rw-r--r--www/wnews/distinfo4
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