mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
bf005fbaf0
PR: ports/96951 Submitted by: Samy Al Bahra <sbahra@kerneled.org> (maintainer)
39 lines
759 B
Makefile
39 lines
759 B
Makefile
# New ports collection makefile for: wnews
|
|
# Date created: July 11, 2004
|
|
# Whom: Samy Al Bahra <samy@kerneled.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= wnews
|
|
PORTVERSION= 0.8
|
|
PORTREVISION= 1
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://samy.kerneled.org/projects/
|
|
|
|
MAINTAINER= sbahra@kerneled.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 <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>
|