blob: ad32e123b67198f3190898d7e372b3086fb9b4b9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# 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@gwu.edu
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>
|