diff options
author | jylefort <jylefort@FreeBSD.org> | 2005-07-25 02:09:18 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2005-07-25 02:09:18 +0800 |
commit | d4cacbb27dc2df57baf11e98f178603ecf031f48 (patch) | |
tree | b77bb1508821cbbee863e89cafdc1556c659c2b0 /www/wnews/Makefile | |
parent | 46da8f59077176898c61f21a9d7920b404a2bd65 (diff) | |
download | freebsd-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/Makefile')
-rw-r--r-- | www/wnews/Makefile | 19 |
1 files changed, 17 insertions, 2 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> |