# New ports collection makefile for: wnews # Date created: July 11, 2004 # Whom: Samy Al Bahra # # $FreeBSD$ # PORTNAME= wnews PORTVERSION= 0.8 PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://kerneled.org/projects/wnews/ MAINTAINER= ports@FreeBSD.org COMMENT= An RSS news client for the UNIX console MAN1= wnews.1 MANCOMPRESSED= yes PLIST_FILES= bin/wnews USE_GMAKE= yes GNU_CONFIGURE= yes WANT_GNOME= yes OPTIONS= GTK2 "build the GTK+ 2.0 interface" off .include .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