blob: f5d44737bb5747c8c0aeb9756428f051f4640791 (
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
39
40
41
42
|
# New ports collection makefile for: newsbeuter
# Date created: 2007-06-01
# Whom: arved
#
# $FreeBSD$
PORTNAME= newsbeuter
PORTVERSION= 0.9.1
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://synflood.at/newsbeuter/
MAINTAINER= arved@FreeBSD.org
COMMENT= An RSS feed reader for the text console
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
LIB_DEPENDS= stfl.1:${PORTSDIR}/devel/stfl \
curl.4:${PORTSDIR}/ftp/curl
USE_GMAKE= yes
USE_GETTEXT= yes
USE_PERL5_BUILD=yes
USE_SQLITE= yes
USE_RUBY= yes
MAKE_ENV= CXX="${CXX}"
MAN1= newsbeuter.1 podbeuter.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 602107
LIB_DEPENDS+= ncursesw.5:${PORTSDIR}/devel/ncurses
.endif
post-patch:
${REINPLACE_CMD} -e "s,share/man,man,; \
/^prefix/s|=.*|=${PREFIX}|; /^CXX=/d; \
s|/usr/local|${LOCALBASE}|; s|ruby1.8|ruby18|" \
${WRKSRC}/Makefile
${REINPLACE_CMD} -e "s,#include <alloca.h>,," ${WRKSRC}/src/logger.cpp
.include <bsd.port.post.mk>
|