Convert USE_NCURSES by USES=ncurses

Convert USE_READLINE by USES=readline
This commit is contained in:
Baptiste Daroussin 2013-05-06 15:34:17 +00:00
parent 296877462b
commit 9f1de9b900
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317525
78 changed files with 154 additions and 237 deletions

View file

@ -10,10 +10,9 @@ DISTNAME= ${PORTNAME}-v${PORTVERSION}
MAINTAINER= h.skuhra@gmail.com
COMMENT= Console-based music player with really cool features
USES= pkgconfig iconv
USES= pkgconfig iconv ncurses
USE_BZIP2= yes
USE_GMAKE= yes
USE_NCURSES= yes
HAS_CONFIGURE= yes
CONFIGURE_ENV+= HOSTCC=${CC}
CONFIGURE_ARGS+=prefix=${PREFIX} mandir=${MANPREFIX}/man \

View file

@ -22,7 +22,7 @@ AUDIOFILE_DESC= Enable libaudiofile support
LO_DESC= Enable liblo support
OIL_DESC= Enable liboil support
USE_READLINE= yes
USES= readline
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS= --disable-liblilv \

View file

@ -20,7 +20,7 @@ LIB_DEPENDS= jack:${PORTSDIR}/audio/jack \
OPTIONS_DEFINE= READLINE DOCS
OPTIONS_DEFAULT=READLINE
USES= pathfix
USES= pathfix
USE_GNOME= gtk20 libxml2
USE_GMAKE= yes
GNU_CONFIGURE= yes
@ -34,7 +34,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MREADLINE}
USE_READLINE= yes
USES+= readline
PLIST_SUB+= READLINE=""
.else
CONFIGURE_ENV+= vl_cv_lib_readline=no

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: mous
# Date created: 15 Jan 2012
# Whom: Yanhui Shen <shen.elf@gmail.com>
#
# Created by: Yanhui Shen <shen.elf@gmail.com>
# $FreeBSD$
#
PORTNAME= mous
PORTVERSION= 1.1a
@ -42,10 +38,6 @@ PKGMESSAGE= ${WRKSRC}/pkg-message
.include <bsd.port.options.mk>
.if ${OSVERSION} < 800067
BROKEN= Does not compile on 7.x: Requires wcscasecmp(3)
.endif
.if ${PORT_OPTIONS:MSDK}
CMAKE_ARGS+= -DWithHeadFiles=1
PLIST_SUB+= SDK=""
@ -62,7 +54,7 @@ CMAKE_ARGS+= -DWithAssembly=0
.endif
.if ${PORT_OPTIONS:MNCURSES}
USE_NCURSES= yes
USES+= ncurses
CMAKE_ARGS+= -DWithFrontendNcurses=1
PLIST_SUB+= NCURSES=""
.else

View file

@ -13,10 +13,9 @@ COMMENT= A ncurses mpd client, clone of ncmpc with some new features
LIB_DEPENDS= mpdclient:${PORTSDIR}/audio/libmpdclient \
fftw3:${PORTSDIR}/math/fftw3
USES= iconv
USES= iconv ncurses
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_NCURSES= yes
USE_GNOME= glib20
USE_AUTOTOOLS= automake aclocal libtool
ACLOCAL_ARGS= --acdir=${ACLOCAL_DIR} -I ${LOCALBASE}/share/aclocal
@ -36,11 +35,6 @@ VISUALIZER_DESC= Enable music visualizer screen
.include <bsd.port.options.mk>
.if defined(WITH_NCURSES_BASE)
# no need to use ncurses-config if we use ncurses from the base system
CONFIGURE_ARGS+= NCURSES_CONFIG=/usr/bin/true
.endif
PLIST_FILES= bin/ncmpcpp \
%%DOCSDIR%%/config \
%%DOCSDIR%%/keys \
@ -86,6 +80,13 @@ BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3
CONFIGURE_ARGS+= --enable-visualizer
.endif
.include <bsd.port.pre.mk>
.if ${NCURSESBASE} == /usr
# no need to use ncurses-config if we use ncurses from the base system
CONFIGURE_ARGS+= NCURSES_CONFIG=/usr/bin/true
.endif
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/ncmpcpp ${PREFIX}/bin/
.if ${PORT_OPTIONS:MDOCS}
@ -102,4 +103,4 @@ post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG} ""
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View file

@ -23,7 +23,7 @@ ONLY_FOR_ARCHS= i386 amd64
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_NCURSES= yes
USES= ncurses
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
MAKE_JOBS_UNSAFE= yes

View file

@ -16,8 +16,8 @@ LIB_DEPENDS= ao.4:${PORTSDIR}/audio/libao
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \
${PYTHON_SITELIBDIR}/mutagen/__init__.py:${PORTSDIR}/audio/py-mutagen
USES= ncurses
USE_PYTHON= 2.5+
USE_NCURSES= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= PyTone

View file

@ -14,8 +14,7 @@ LICENSE= GPLv3
OPTIONS_DEFINE= DOCS
USE_NCURSES= yes
USES= cmake:outsource
USES= cmake:outsource ncurses
MAKE_JOBS_SAFE= yes
PORTDOCS= *

View file

@ -29,7 +29,7 @@ PLIST_FILES= bin/gnucap bin/gnucap-modelgen
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MREADLINE}
USE_READLINE= yes
USES+= readline
.else
CONFIGURE_ARGS+=--with-readline=no
.endif

View file

@ -21,8 +21,7 @@ USE_LDCONFIG= yes
USE_AUTOTOOLS= autoconf:env
USE_RC_SUBR= cego
USE_NCURSES= yes
USE_READLINE= yes
USES= ncurses readline
USERS= cego
GROUPS= cego

View file

@ -32,8 +32,7 @@ LIB_DEPENDS= gdal:${PORTSDIR}/graphics/gdal \
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
USE_GMAKE= yes
USES= gettext iconv
USE_READLINE= yes
USES= gettext iconv readline
USE_PERL5= yes
USE_XORG= sm ice xi x11 xt xmu xext
USE_GL= glut

View file

@ -16,7 +16,7 @@ LIB_DEPENDS= ct:${PORTSDIR}/databases/freetds
OPTIONS_DEFINE= X11
OPTIONS_DEFAULT=X11
USE_READLINE= yes
USES= readline
GNU_CONFIGURE= yes
CONFIGURE_ENV= SYBASE="${LOCALBASE}"
CONFIGURE_ARGS= --with-readline

View file

@ -17,8 +17,8 @@ LICENSE= GPLv2
OPTIONS_DEFINE= UTF8
GNU_CONFIGURE= yes
USES= ncurses
USE_GMAKE= yes
USE_NCURSES= yes
MAN1= wyrd.1
MAN5= wyrdrc.5

View file

@ -16,8 +16,8 @@ COMMENT= Curses Development Kit for speedy development of full screen programs
LICENSE= BSD
USES= ncurses
USE_GMAKE= yes
USE_NCURSES= yes
GNU_CONFIGURE= yes
PORTDOCS= COPYING EXPANDING INSTALL NOTES README TODO
MAKE_JOBS_UNSAFE= yes

View file

@ -26,10 +26,9 @@ CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
USE_GMAKE= yes
USES= pathfix
USES= pathfix ncurses
USE_LDCONFIG= yes
USE_PERL5_BUILD=yes
USE_NCURSES= yes
DIRECTFB_SHLIB= 5 # LT_CURRENT
DIRECTFB_BIN= 5 # LT_BINARY

View file

@ -65,11 +65,11 @@ CONFIGURE_ARGS+= --with-system-readline
.if ${PORT_OPTIONS:MBASE_READLINE}
CFLAGS+= -D_rl_echoing_p=readline_echoing_p
USE_READLINE= base
USES+= readline
.endif
.if ${PORT_OPTIONS:MPORT_READLINE}
USE_READLINE= port
USES+= readline:port
.endif
.if ${PORT_OPTIONS:MPYTHON}

View file

@ -10,7 +10,7 @@ COMMENT= Haskell bindings to the terminfo library
LICENSE= BSD
USE_NCURSES= yes
USES= ncurses
CONFIGURE_ARGS+= --configure-option=--with-curses-includes=${NCURSESINC} \
--configure-option=--with-curses-libraries=${NCURSESLIB}

View file

@ -17,8 +17,8 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
OPTIONS_DEFINE= NLS DOCS
USES= readline
USE_BZIP2= yes
USE_READLINE= yes
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes

View file

@ -36,7 +36,7 @@ PLIST_SUB= VER="${PORTVERSION}"
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MREADLINE}
USE_READLINE= yes
USES+= readline
PLIST_SUB+= READLINE=""
.else
CONFIGURE_ENV+= ac_cv_lib_readline_readline=no

View file

@ -7,13 +7,12 @@ CATEGORIES= devel
MASTER_SITES= http://main.metaprl.org/download/omake/
MAINTAINER= bf@FreeBSD.org
COMMENT= A flexible build system
COMMENT= Flexible build system
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:C|-.*||}
USE_OCAML= yes
NO_OCAML_RUNDEPENDS=yes
USE_NCURSES= yes
USE_READLINE= yes
USES= ncurses readline
MAKE_JOBS_UNSAFE= yes
INFO= omake-doc

View file

@ -18,9 +18,7 @@ USE_BZIP2= yes
USE_DOS2UNIX= Piklab.cmake
USE_QT4= corelib gui qt3support qtestlib xml \
moc_build qmake_build rcc_build uic_build
USE_NCURSES= yes
USE_READLINE= yes
USES= cmake gettext
USES= cmake gettext readline
MAKE_JOBS_SAFE= yes
MAN1= piklab-hex.1 piklab-prog.1

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: stfl
# Date created: 28 March 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= stfl
PORTVERSION= 0.22
@ -18,8 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USE_LDCONFIG= yes
USE_GMAKE= yes
USES= iconv
USE_NCURSES= yes
USES= iconv ncurses
MAKE_JOBS_SAFE= yes
ALL_TARGET= libstfl.so
PLIST_FILES= lib/libstfl.so.1 lib/libstfl.so include/stfl.h \

View file

@ -25,8 +25,8 @@ CONFLICTS= emacs-19.* emacs-21.* emacs-22.* emacs-23.* \
EMACS_VER= 24.3.50
EMACS_REV= 112178
GNU_CONFIGURE= yes
USES= ncurses
USE_GMAKE= yes
USE_NCURSES= yes
USE_XZ= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib

View file

@ -22,8 +22,8 @@ CONFLICTS= emacs-19.* emacs-21.* emacs-22.* emacs-23.* \
EMACS_VER= 24.3
GNU_CONFIGURE= yes
USES= ncurses
USE_GMAKE= yes
USE_NCURSES= yes
USE_XZ= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib

View file

@ -24,9 +24,9 @@ CONFLICTS= emacs-19.* emacs-21.* emacs-22.* emacs-24.* \
EMACS_VER= 23.4
GNU_CONFIGURE= yes
USES= ncurses
USE_GMAKE= yes
USE_BZIP2= yes
USE_NCURSES= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --localstatedir=/var

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: joe
# Date created: 01 Jul 1995
# Whom: torstenb@FreeBSD.org
#
# Created by: torstenb@FreeBSD.org
# $FreeBSD$
#
PORTNAME= joe
PORTVERSION= 3.7
@ -22,8 +18,7 @@ CONFLICTS= joe-2.*
LICENSE= GPLv1
USE_GMAKE= yes
USES= iconv
USE_NCURSES= yes
USES= iconv ncurses
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib -liconv"
CPPFLAGS+= -I${LOCALBASE}/include
@ -35,7 +30,7 @@ MANLANG= "" ru
.include <bsd.port.pre.mk>
.ifdef NOPORTDOCS
.if ! ${PORT_OPTIONS:MDOCS}
post-patch:
${REINPLACE_CMD} 's,install-data-am: install-data_charmapsDATA install-data_docDATA,install-data-am: install-data_charmapsDATA,' \
${WRKSRC}/Makefile.in

View file

@ -16,8 +16,7 @@ OPTIONS_RADIO= GUI
OPTIONS_RADIO_GUI= GTK3 GTK2 QT4
OPTIONS_DEFAULT= PCRE
USE_NCURSES= yes
USES= iconv
USES= iconv ncurses
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= config.sh
CONFIGURE_ARGS= --prefix=${PREFIX} --without-win32 --without-kde4

View file

@ -273,7 +273,7 @@ CONFIGURE_ARGS+=--disable-raw-serial
.endif
.if ${PORT_OPTIONS:MREADLINE}
USE_READLINE= yes
USES+= readline
CONFIGURE_ARGS+=--enable-readline
.else
CONFIGURE_ARGS+=--disable-readline

View file

@ -21,8 +21,7 @@ OPTIONS_DEFINE= DOCS
USE_BZIP2= yes
USE_GNOME= pygtk2
USE_SDL= sdl
USE_READLINE= yes
USES= cmake
USES= cmake readline
CMAKE_ARGS= -DPORTAUDIO_INCLUDE_DIR:STRING="${PA2_INCLUDE_DIR}" \
-DPORTAUDIO_LIBRARY:STRING="${PA2_LIBRARY}" \
-DCMAKE_C_FLAGS_RELEASE:STRING="-DNDEBUG" \

View file

@ -33,7 +33,7 @@ CONFIGURE_ARGS+= --with-openssh
.endif
.if ${PORT_OPTIONS:MREADLINE}
USE_READLINE= yes
USES+= readline
CONFIGURE_ARGS+= --with-readline
.endif

View file

@ -16,7 +16,7 @@ OPTIONS_DEFINE= READLINE
OPTIONS_DEFAULT=READLINE
READLINE_DESC= Enable readline support
USE_NCURSES= yes
USES= ncurses
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_func_getmaxyx=yes
MAKE_JOBS_SAFE= yes
@ -27,7 +27,7 @@ PLIST_FILES= bin/${LATEST_LINK}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MREADLINE}
USE_READLINE= yes
USES+= readline
.else
CONFIGURE_ARGS+=--disable-readline
.endif

View file

@ -12,8 +12,7 @@ COMMENT= A scriptable FTP client
LICENSE= GPLv2
USE_NCURSES= yes
USE_READLINE= yes
USES= ncurses readline
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes

View file

@ -43,7 +43,7 @@ CONFIGURE_ARGS+= --without-gettext
.endif
.if ${PORT_OPTIONS:MREADLINE}
USE_READLINE= yes
USES+= readline
.else
CONFIGURE_ARGS+= --without-readline
.endif

View file

@ -15,7 +15,7 @@ LICENSE= GPLv3 # (or later)
LIB_DEPENDS= boost_program_options:${PORTSDIR}/devel/boost-libs
USE_NCURSES= yes
USES= ncurses
USE_GMAKE= yes
MAKE_JOBS_SAFE= yes

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: latrine
# Date created: Sun Feb 18 01:13:42 CET 2007
# Whom: Juergen Lock <nox@FreeBSD.org>
#
# Created by: Juergen Lock <nox@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= latrine
PORTVERSION= 1.0.0
@ -22,8 +18,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_CSTD= gnu89
USE_SQLITE= 3
USE_PERL5_BUILD=yes
USE_NCURSES= yes
USES= gettext
USES= gettext ncurses
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: mangband
# Date created: Thu Jun 11 11:40:54 UTC 2009
# Whom: driedfruit
#
# Created by: driedfruit
# $FreeBSD$
#
PORTNAME= mangband
PORTVERSION= 1.1.2
@ -16,31 +12,34 @@ COMMENT= Free online multiplayer real-time roguelike game
ALL_TARGET= mangclient mangband
WRKSRC= ${WRKDIR}/${DISTNAME}/src
GNU_CONFIGURE= yes
USES= ncurses
USE_GMAKE= yes
USE_NCURSES= yes
MAKE_ARGS= "DATADIR=${DATADIR}"
OPTIONS= GCU "Display module GCU" On \
X11 "Display module X11" Off \
SDL "Display module SDL" Off \
OPTIONS_DEFINE= GCU X11 SDL
OPTIONS_DEFAULT= GCU X11 SDL
GCU_DESC= Display module GCU
X11_DESC= Display module X11
SDL_DESC= Display module SDL
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if defined(WITH_GCU)
.if ${PORT_OPTIONS:MGCU}
CONFIGURE_ARGS+= --with-gcu
.else
CONFIGURE_ARGS+= --without-gcu
.endif
.if defined(WITH_X11)
.if ${PORT_OPTIONS:MX11}
LIB_DEPENDS+= X11.6:${PORTSDIR}/x11/libX11
CONFIGURE_ARGS+= --with-x11
.else
CONFIGURE_ARGS+= --without-x11
.endif
.if defined(WITH_SDL)
.if ${PORT_OPTIONS:MSDL}
LIB_DEPENDS+= SDL-1.2:${PORTSDIR}/devel/sdl12
CONFIGURE_ARGS+= --with-sdl
.else
@ -70,4 +69,4 @@ do-install:
@${CHOWN} -R root:games ${DATADIR}/*
@${CHOWN} ${SHAREOWN}:${SHAREGRP} ${DATADIR}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -72,7 +72,7 @@ LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png \
freetype:${PORTSDIR}/print/freetype2
USE_SDL= sdl image
.else
USE_NCURSES= yes
USES+= ncurses
CONFLICTS+= ${PORTNAME}-sdl-[0-9]*
PLIST_SUB+= SDL="@comment "
.endif

View file

@ -1,10 +1,5 @@
# ex:ts=8
# Ports collection makefile for: sudoku
# Date created: Feb 27, 2006
# Whom: ijliao
#
# Created by: ijliao
# $FreeBSD$
#
PORTNAME= sudoku
PORTVERSION= 1.0.2
@ -16,14 +11,16 @@ MAINTAINER= sterling@camdensoftware.com
COMMENT= Console based Sudoku games
USE_BZIP2= yes
USE_NCURSES= yes
USES= ncurses
PLIST_FILES= bin/sudoku \
share/sudoku/template
PLIST_DIRS= share/sudoku
MAN6= sudoku.6
.if !defined(NOPORTDOCS)
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= *
.endif
@ -39,7 +36,7 @@ do-install:
@${INSTALL_MAN} ${WRKSRC}/${MAN6} ${MAN6PREFIX}/man/man6
@${MKDIR} ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/template ${DATADIR}
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/sudoku.html ${DOCSDIR}
.endif

View file

@ -11,8 +11,8 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/}
MAINTAINER= eadler@FreeBSD.org
COMMENT= ASCII art library
USES= ncurses
USE_AUTOTOOLS= libtool
USE_NCURSES= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-1.4.0
GNU_CONFIGURE= yes
USE_LDCONFIG= yes

View file

@ -13,11 +13,10 @@ LIB_DEPENDS= glib-2:${PORTSDIR}/devel/glib20
CONFLICTS= irssi-devel-[0-9]* zh-irssi-[0-9]*
USES= pkgconfig
USES= pkgconfig ncurses
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_NCURSES= yes
WANT_PERL= yes
MAN1= irssi.1

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: ScrollZ
# Date created: 10 Aug 1999
# Whom: Will Andrews <andrews@technologist.com>
#
# Created by: Will Andrews <andrews@technologist.com>
# $FreeBSD$
#
PORTNAME= scrollz
PORTVERSION= 2.2.2
@ -16,11 +12,10 @@ DISTNAME= ScrollZ-${PORTVERSION}
MAINTAINER= mdv@unsavoury.net
COMMENT= Enhanced ircII client that supports scripts, colors, and more
USES= iconv
USES= iconv ncurses
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-ipv6 --enable-regexp --enable-iconv
USE_NCURSES= yes
MAKE_ENV+= IRCLIB="${PREFIX}/share/scrollz"

View file

@ -18,7 +18,6 @@ LICENSE= GPLv3
CONFLICTS= weechat-0.3*
USE_LDCONFIG= yes
USE_NCURSES= yes
USES= cmake iconv
CMAKE_ARGS+= -DENABLE_GUILE=no
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
@ -145,8 +144,10 @@ LIB_DEPENDS+= execinfo:${PORTSDIR}/devel/libexecinfo
.endif
.if ${PORT_OPTIONS:MCOLOR256}
WITH_NCURSES_PORT= yes
USES+= ncurses:port
CMAKE_ARGS+= -DNCURSES_INCLUDE_PATH=${LOCALBASE}/include/ncurses
.else
USES+= ncurses
.endif
MAN1= weechat-curses.1

View file

@ -15,7 +15,6 @@ LICENSE= GPLv3
CONFLICTS= weechat-devel-0.*
USE_LDCONFIG= yes
USE_NCURSES= yes
USES= cmake iconv
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
WANT_PERL= yes
@ -139,10 +138,12 @@ PLIST_SUB+= DOCUMENTATION="@comment "
LIB_DEPENDS+= execinfo:${PORTSDIR}/devel/libexecinfo
.endif
.if ${PORT_OPTIONS:MCOLOR256}
WITH_NCURSES_PORT= yes
.if ${PORT_OPTIONS:MCOLOR256}
USES+= ncurses:port
CMAKE_ARGS+= -DNCURSES_INCLUDE_PATH=${LOCALBASE}/include/ncurses
.endif
.else
USES+= ncurses
.endif
MAN1= weechat-curses.1

View file

@ -14,12 +14,12 @@ LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp
ONLY_FOR_ARCHS= i386
USES= readline
USE_XORG= x11
USE_TCL_BUILD= yes
USE_TCL= yes
USE_TK_BUILD= yes
USE_TK= yes
USE_READLINE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS=--prefix=${PREFIX} \

View file

@ -30,10 +30,9 @@ LIB_DEPENDS+= gmp.10:${PORTSDIR}/math/gmp
USE_AUTOTOOLS= autoconf autoheader
USE_PERL5_BUILD= yes
USE_GMAKE= yes
USES= iconv
USES= iconv ncurses
USE_BINUTILS= yes
USE_GCC= 4.6+
USE_NCURSES= yes
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/LICENSE

View file

@ -15,10 +15,9 @@ LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp
USE_AUTOTOOLS= autoconf libltdl
USE_GMAKE= yes
USES= gettext
USES= gettext ncurses
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_NCURSES= yes
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include

View file

@ -20,8 +20,7 @@ RUN_DEPENDS= gtar:${PORTSDIR}/archivers/gtar
USE_CSTD= gnu89
USE_XZ= yes
USES= gettext pathfix pkgconfig
USE_READLINE= yes
USES= gettext pathfix pkgconfig readline
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS= --with-aclocaldir=${PREFIX}/share/aclocal \

View file

@ -15,9 +15,7 @@ OPTIONS_DEFINE= GLADE GUILE
OPTIONS_DEFAULT=GLADE GUILE
USE_GNOME= glib20 intltool
USE_NCURSES= yes
USE_READLINE= yes
USES= gettext
USES= gettext ncurses readline
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes

View file

@ -13,7 +13,7 @@ LICENSE= MIT
OPTIONS_DEFINE= EXAMPLES
USE_NCURSES= yes
USES= ncurses
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes

View file

@ -14,8 +14,7 @@ LICENSE= GPLv2
OPTIONS_DEFINE= NLS DOCS
USE_NCURSES= yes
USE_READLINE= yes
USES= ncurses readline
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes

View file

@ -1,9 +1,5 @@
# ports collection Makefile for: cone
# Whom: Matthias Andree <matthias.andree@gmx.de>
# Date created: 2003-06-19
#
# Created by: Matthias Andree <matthias.andree@gmx.de>
# $FreeBSD$
#
PORTNAME= cone
PORTVERSION= 0.90
@ -23,13 +19,12 @@ BUILD_DEPENDS= gpgv:${PORTSDIR}/security/gnupg1
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_FAM= yes
USES= gettext iconv
USES= gettext iconv ncurses
USE_GNOME= libxml2
USE_BZIP2= yes
USE_PERL5= yes
USE_GMAKE= yes
USE_NCURSES= yes
CPPFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
CONFIGURE_ARGS= -C --without-db --with-certdb=${PREFIX}/share/cone/rootcerts --prefix=${PREFIX} --exec-prefix=${PREFIX}

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: mixmaster
# Date created: 27 November 2003
# Whom: Meyer Wolfsheim
#
# Created by: Meyer Wolfsheim
# $FreeBSD$
#
PORTNAME= mixmaster
PORTVERSION= 2.9.1
@ -20,8 +16,8 @@ COMMENT= A cryptographically secure anonymous remailer
LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre
USES= ncurses
USE_PERL5= yes
USE_NCURSES= yes
USE_OPENSSL= yes
.if !exists(/usr/include/openssl/idea.h)
WITH_OPENSSL_PORT= yes

View file

@ -168,7 +168,7 @@ LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2
.endif
.if ${PORT_OPTIONS:NCURSES}
USE_NCURSES= yes
USES= ncurses
.endif
.if ! ${PORT_OPTIONS:MSGMLFORMAT} || ! ${PORT_OPTIONS:MXML} || !defined(XML_USED) \

View file

@ -73,7 +73,9 @@ USES+= iconv
.if defined(WITH_SLANG)
LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2
.elif defined(WITH_NCURSES)
WITH_NCURSES_PORT= yes
USES+= ncurses:port
.else
USES+= ncurses
.endif
.if !defined (MUTT_LITE)
.if defined(WITH_MUTT_CYRUS_SASL)

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: CLEX File Manager
# Date created: Tue Oct 30, 2002
# Whom: Michael L. Hostbaek <mich@freebsdcluster.org>
#
# Created by: Michael L. Hostbaek <mich@freebsdcluster.org>
# $FreeBSD$
#
PORTNAME= clex
PORTVERSION= 4.6.4
@ -16,8 +12,8 @@ COMMENT= A command line file manager
LICENSE= GPLv2
GNU_CONFIGURE= yes
USES= ncurses
USE_GMAKE= yes
USE_NCURSES= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@ -30,7 +26,9 @@ post-patch:
@${REINPLACE_CMD} -e '18s,^,#include <stdio.h>,' \
${WRKSRC}/src/preview.c
.if !defined(NOPORTDOCS)
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
post-install:
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}

View file

@ -16,8 +16,7 @@ OPTIONS_DEFAULT=READLINE
READLINE_DESC= Enable readline support
USE_BZIP2= yes
USE_NCURSES= yes
USES= gettext
USES= gettext ncurses
USE_AUTOTOOLS= libtoolize aclocal autoheader automake autoconf
LIBTOOLIZE_ARGS=--force
ACLOCAL_ARGS= -I macros
@ -31,13 +30,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
MAN1= pinfo.1
INFO= pinfo
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USES+= gettext
PLIST_SUB+= NLS=""
.endif
.include <bsd.port.options.mk>
PLIST_FILES= bin/pinfo etc/pinforc
.for lang in cs de eu ja nl pl pt_BR ro ru sv vi
@ -46,8 +39,17 @@ PLIST_FILES+= %%NLS%%share/locale/${lang}/LC_MESSAGES/pinfo.mo
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.if ${PORT_OPTIONS:MREADLINE}
USE_READLINE= yes
USES= readline
.else
CONFIGURE_ARGS+=--without-readline
.endif

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: vifm
# Date created: 09 August 2002
# Whom: Stefan Walter <swalter@lettermax.de>
#
# Created by: Stefan Walter <swalter@lettermax.de>
# $FreeBSD$
#
PORTNAME= vifm
PORTVERSION= 0.6.3
@ -16,10 +12,11 @@ COMMENT= Ncurses based file manager with vi like keybindings
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
OPTIONS= VIFM_SCREEN "Use vifm with the screen program" off
OPTIONS_DEFINE= VIFM_SCREEN
VIFM_SCREEN_DESC= Use vifm with the screen program
USES= ncurses
USE_BZIP2= yes
USE_NCURSES= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-gtk
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
@ -35,20 +32,20 @@ PLIST_FILES= bin/vifm \
%%DATADIR%%/vifmrc
PLIST_DIRS= %%DATADIR%%
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if defined(WITH_VIFM_SCREEN)
.if ${PORT_OPTIONS:MVIFM_SCREEN}
RUN_DEPENDS= screen:${PORTSDIR}/sysutils/screen
.endif
post-patch:
@${REINPLACE_CMD} -e 's/resize_term/resizeterm/g' \
${WRKSRC}/src/ui.c
.if defined(WITH_VIFM_SCREEN)
.if ${PORT_OPTIONS:MVIFM_SCREEN}
@${REINPLACE_CMD} -e "s/cfg.use_screen = 0/cfg.use_screen = 1/" \
${WRKSRC}/src/config.c
@${REINPLACE_CMD} -e "s/USE_SCREEN=0/USE_SCREEN=1/" \
${WRKSRC}/src/vifmrc
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -22,10 +22,9 @@ LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
BUILD_DEPENDS= ${LOCALBASE}/bin/yasm:${PORTSDIR}/devel/yasm
USES= iconv
USES= iconv ncurses
USE_XZ= yes
USE_GMAKE= yes
USE_NCURSES= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \

View file

@ -20,8 +20,7 @@ RUN_DEPENDS= ffmpeg1:${PORTSDIR}/multimedia/ffmpeg1
USE_XZ= yes
USE_GMAKE= yes
USE_PYTHON= 3.1+
USES= iconv
USE_NCURSES= yes
USES= iconv ncurses
HAS_CONFIGURE= yes
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \

View file

@ -11,9 +11,9 @@ DISTNAME= c${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Internet CB - a mostly-defunct chat client
USES= readline
USE_TK_BUILD= yes
USE_TK= yes
USE_READLINE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tclinclude=${TCL_INCLUDEDIR} \
--with-tcllib=${LOCALBASE}/lib

View file

@ -19,9 +19,8 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-sigwinch --libdir=${PREFIX}/lib
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USES= pkgconfig gettext iconv
USES= pkgconfig gettext iconv ncurses
USE_LDCONFIG= yes
USE_NCURSES= yes
USE_GNOME= glib20
MAN1= mcabber.1

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: tmsnc
# Date created: 4 Apr 2007
# Whom: Tsung-Han Yeh <snowfly@yuntech.edu.tw>
#
# Created by: Tsung-Han Yeh <snowfly@yuntech.edu.tw>
# $FreeBSD$
#
PORTNAME= tmsnc
PORTVERSION= 0.3.2
@ -14,7 +10,7 @@ MAINTAINER= snowfly@yuntech.edu.tw
COMMENT= A textbased (console) MSN client
GNU_CONFIGURE= yes
USE_NCURSES= yes
USES= ncurses
PLIST_FILES= bin/tmsnc

View file

@ -17,12 +17,11 @@ CONFLICTS= argus-clients-2* argus-clients-sasl-2*
OPTIONS_DEFINE= GEOIP MANPAGES MYSQL SASL
OPTIONS_DEFAULT=MANPAGES MYSQL SASL
USES= bison
USES= bison ncurses
.include <bsd.port.options.mk>
GNU_CONFIGURE= true
USE_NCURSES= yes
USE_PERL5= yes
.if ${PORT_OPTIONS:MSASL}

View file

@ -20,8 +20,7 @@ LIB_DEPENDS= sqlite3:${PORTSDIR}/databases/sqlite3 \
nettle:${PORTSDIR}/security/nettle \
p11-kit:${PORTSDIR}/security/p11-kit
USES= pkgconfig
USE_NCURSES= yes
USES= pkgconfig ncurses
USE_GNOME= glib20
USE_GMAKE= yes
GNU_CONFIGURE= yes

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: sqtop
# Date created: 2010-09-05
# Whom: Marco Steinbach <coco@webdev.c0c0.intra>
#
# Created by: Marco Steinbach <coco@webdev.c0c0.intra>
# $FreeBSD$
#
PORTNAME= sqtop
DISTVERSION= 2011-11-01
@ -22,7 +18,6 @@ PLIST_FILES= bin/sqtop
MAN1= sqtop.1
GNU_CONFIGURE= yes
USE_NCURSES= yes
OPTIONS_DEFINE= NCURSES
OPTIONS_DEFAULT= NCURSES
@ -31,6 +26,8 @@ OPTIONS_DEFAULT= NCURSES
.if ! ${PORT_OPTIONS:MNCURSES}
CONFIGURE_ARGS= --disable-ui
.else
USES+= ncurses
.endif
.include <bsd.port.mk>

View file

@ -20,7 +20,7 @@ OPTIONS_DEFAULT= QT4
NO_LATEST_LINK= yes
USE_READLINE= yes
USES= readline
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --disable-static

View file

@ -14,7 +14,7 @@ LICENSE= GPLv2
OPTIONS_DEFINE= CURL NLS
USE_NCURSES= yes
USES= ncurses
#USE_READLINE= yes
GNU_CONFIGURE= yes
USE_BZIP2= yes

View file

@ -20,11 +20,10 @@ SCRIPTS= msfcli msfconsole msfd msfelfscan msfencode msfmachscan \
OPTIONS_DEFINE= SVN
NO_BUILD= yes
USES= ncurses:port
USE_RUBY= yes
USE_RUBY_FEATURES= iconv
USE_BZIP2= yes
USE_NCURSES= yes
WITH_NCURSES_PORT= yes
.include <bsd.port.pre.mk>

View file

@ -78,7 +78,7 @@ PLIST_SUB+= WITH_GTK2="@comment "
.endif
.if ${PORT_OPTIONS:MNCURSES}
USE_NCURSES= yes
USES+= ncurses
PLIST_SUB+= WITH_NCURSES=""
.else
CONFIGURE_ARGS+=--disable-pinentry-curses

View file

@ -21,7 +21,7 @@ OPTIONS_DEFINE= READLINE
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MREADLINE}
USE_READLINE= yes
USES+= readline
CONFIGURE_ARGS+= --with-readline
.else
MAKE_ARGS+= CFLAGS="$(CFLAGS) -static"

View file

@ -16,7 +16,7 @@ GH_PROJECT= atop-freebsd
GH_TAGNAME= ${PORTNAME}-${PORTVERSION:C|b|fbsd.beta|}
GH_COMMIT= f9357ca
USE_NCURSES= yes
USES= ncurses
MAKEFILE= BSDmakefile
MAN1= atop.1 atopsar.1
MAN5= atoprc.5

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: cdls
# Date created: 13 april 2012
# Whom: Hans de Hartog <hans@dehartog.nl>
#
# Created by: Hans de Hartog <hans@dehartog.nl>
# $FreeBSD$
#
PORTNAME= cdls
PORTVERSION= 4.2
@ -15,9 +11,11 @@ COMMENT= A curses based file manager for system managers
PLIST_FILES= bin/cdls
USE_NCURSES= yes
USES= ncurses
.if defined(WITH_NCURSES_BASE)
.include <bsd.port.pre.mk>
.if ${NCURSESBASE} == /usr
# no need to use ncurses-config if we use ncurses from the base system
CONFIGURE_ARGS+= NCURSES_CONFIG=/usr/bin/true
.endif
@ -25,4 +23,4 @@ CONFIGURE_ARGS+= NCURSES_CONFIG=/usr/bin/true
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/Makefile
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View file

@ -23,8 +23,8 @@ LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= LIBS="-lexecinfo"
CONFIGURE_ARGS= --with-proc=/compat/linux/proc --enable-unicode
USES= ncurses
USE_AUTOTOOLS= autoconf aclocal automake libtool
USE_NCURSES= yes
ACLOCAL_ARGS= -I ${ACLOCAL_DIR}
USE_PYTHON_BUILD= yes

View file

@ -1,7 +1,4 @@
# New ports collection makefile for: libcdio
# Date created: 2004-04-04
# Whom: arved
#
# Created by: arved
# $FreeBSD$
PORTNAME= libcdio
@ -22,10 +19,9 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
USES= pathfix pkgconfig iconv
USES= pathfix pkgconfig iconv ncurses
USE_GMAKE= yes
USE_LDCONFIG= yes
USE_NCURSES= yes
CONFIGURE_ARGS+= --with-libpopt-prefix=${LOCALBASE} \
--with-libiconv-prefix=${LOCALBASE} \
USE_PERL5_BUILD=yes

View file

@ -12,8 +12,8 @@ COMMENT= Ncurses-based split window log monitoring program
LICENSE= ART10
USES= ncurses
USE_BZIP2= yes
USE_NCURSES= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes

View file

@ -17,9 +17,8 @@ LICENSE_COMB= dual
CONFIGURE_ARGS= --disable-nls --with-libiconv-prefix=${LOCALBASE} --with-readline --with-ui
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
USES= pathfix iconv
USES= pathfix iconv ncurses readline
USE_LDCONFIG= yes
USE_NCURSES= yes
MANLANG= "" hu
MAN1_EN= hunspell.1 hunzip.1 hzip.1

View file

@ -18,11 +18,10 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GMAKE= yes
USES= gettext
USES= gettext ncurses
USE_PERL5_BUILD=yes
USE_SQLITE= yes
USE_GNOME= libxml2
USE_NCURSES= yes
MAN1= newsbeuter.1 podbeuter.1

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: xrestop
# Date created: 25 Dec 2003
# Whom: Alexander Nedotsukov <bland@FreeBSD.org>
#
# Created by: Alexander Nedotsukov <bland@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= xrestop
PORTVERSION= 0.4
@ -14,10 +10,9 @@ MASTER_SITES= http://projects.o-hand.com/sources/${PORTNAME}/
MAINTAINER= bland@FreeBSD.org
COMMENT= X11 server side resource usage statistics monitor
USES= pkgconfig ncurses
USE_XORG= x11 xext xrender xt xres xproto
USE_GMAKE= yes
USE_GNOME= pkgconfig
USE_NCURSES= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= XLIBS="-L${LOCALBASE}/lib -lX11"