mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
8d27ddb9bd
If a ports is linked against ncurses from base or from the ports, it should then add: USE_NCURSES=yes it is also possible to specify the hard dependency on the ports ncurses or one the base one adding the following macros: WITH_NCURSES_PORT=yes or WITH_NCURSES_BASE=yes PR: ports/155269 Submitted by: me Reviwed by: pav@ Approved by: portmgr (pav@) Exp-run by: portmgr (pav@)
41 lines
899 B
Makefile
41 lines
899 B
Makefile
# New ports collection makefile for: newsbeuter
|
|
# Date created: 2007-06-01
|
|
# Whom: arved
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= newsbeuter
|
|
PORTVERSION= 2.4
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://newsbeuter.org/downloads/
|
|
|
|
MAINTAINER= arved@FreeBSD.org
|
|
COMMENT= An RSS feed reader for the text console
|
|
|
|
LIB_DEPENDS= stfl.1:${PORTSDIR}/devel/stfl \
|
|
curl.6:${PORTSDIR}/ftp/curl
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USE_GMAKE= yes
|
|
USE_GETTEXT= yes
|
|
USE_PERL5_BUILD=yes
|
|
USE_SQLITE= yes
|
|
USE_GNOME= libxml2
|
|
USE_NCURSES= yes
|
|
|
|
MAN1= newsbeuter.1 podbeuter.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
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,<ncursesw/ncurses.h>,<ncurses.h>,' \
|
|
${WRKSRC}/src/controller.cpp ${WRKSRC}/src/view.cpp
|
|
|
|
.include <bsd.port.post.mk>
|