From 9250d94365048cf854570d93b5196aa250eba8f0 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Fri, 8 Mar 2013 11:32:11 +0000 Subject: Convert USE_BISON to USES= bison It brings bison as a build dependency in case it is set the following way: USES= bison or USES= bison:build it brings bison as a run dependency in case it is set the following way: USES= bison:run it brings bison both as a run and build dependency in case it the set the following way: USES= bison:both While here trim some headers Convert some USE_GNOME= gnomehack to USES= pathfix --- editors/lfhex/Makefile | 9 ++------- editors/libreoffice/Makefile | 2 +- editors/openoffice-3-devel/Makefile | 2 +- editors/openoffice-3/Makefile | 2 +- editors/openoffice.org-vcltesttool/Makefile | 2 +- editors/xmleditor/Makefile | 11 +++-------- 6 files changed, 9 insertions(+), 19 deletions(-) (limited to 'editors') diff --git a/editors/lfhex/Makefile b/editors/lfhex/Makefile index a12498ee811e..1034dbdc9702 100644 --- a/editors/lfhex/Makefile +++ b/editors/lfhex/Makefile @@ -1,10 +1,5 @@ -# ex:ts=8 -# New ports collection makefile for: lfhex -# Date created: Jul 6, 2001 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= lfhex PORTVERSION= 0.42 @@ -18,7 +13,7 @@ COMMENT= Large file hex editor LICENSE= GPLv2 USE_QT4= corelib gui moc_build qmake_build rcc_build -USE_BISON= build +USES= bison MAKE_JOBS_SAFE= yes WRKSRC= ${WRKDIR}/${DISTNAME}/src diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile index 319cbfbed5d7..1e9ded209250 100644 --- a/editors/libreoffice/Makefile +++ b/editors/libreoffice/Makefile @@ -81,7 +81,7 @@ USE_BDB= yes USE_PERL5_BUILD= yes GNU_CONFIGURE= yes USE_GMAKE= yes -USE_BISON= build +USES= bison WANT_GNOME= yes USE_XORG= xaw xrandr diff --git a/editors/openoffice-3-devel/Makefile b/editors/openoffice-3-devel/Makefile index 7c11156b2cea..075f7017232a 100644 --- a/editors/openoffice-3-devel/Makefile +++ b/editors/openoffice-3-devel/Makefile @@ -144,7 +144,7 @@ BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \ p5-libwww>=0:${PORTSDIR}/www/p5-libwww USE_AUTOTOOLS= autoconf -USE_BISON= build +USES= bison GNU_CONFIGURE= yes WRKSRC?= ${WRKDIR}/ooo/main BASH?= ${PREFIX}/bin/bash diff --git a/editors/openoffice-3/Makefile b/editors/openoffice-3/Makefile index 0ab70437a1c1..e01ed55f49ea 100644 --- a/editors/openoffice-3/Makefile +++ b/editors/openoffice-3/Makefile @@ -140,7 +140,7 @@ BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \ p5-libwww>=0:${PORTSDIR}/www/p5-libwww USE_AUTOTOOLS= autoconf -USE_BISON= build +USES= bison GNU_CONFIGURE= yes WRKSRC?= ${WRKDIR}/aoo-${PORTVERSION}/main BASH?= ${PREFIX}/bin/bash diff --git a/editors/openoffice.org-vcltesttool/Makefile b/editors/openoffice.org-vcltesttool/Makefile index 678c2f1839e4..e5d208a17977 100644 --- a/editors/openoffice.org-vcltesttool/Makefile +++ b/editors/openoffice.org-vcltesttool/Makefile @@ -83,7 +83,7 @@ BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \ LIB_DEPENDS+= art_lgpl_2:${PORTSDIR}/graphics/libart_lgpl LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-client -USE_BISON= build +USES+= bison GNU_CONFIGURE= yes WRKSRC?= ${WRKDIR}/${OOOTAG} CONFIGURE_WRKSRC= ${WRKSRC}/config_office diff --git a/editors/xmleditor/Makefile b/editors/xmleditor/Makefile index 2274036a2696..80d8ae83ff52 100644 --- a/editors/xmleditor/Makefile +++ b/editors/xmleditor/Makefile @@ -1,10 +1,5 @@ -# ex:ts=8 -# Ports collection makefile for: xmleditor -# Date created: Jan 18, 2003 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= xmleditor PORTVERSION= 0.5.3 @@ -17,8 +12,8 @@ COMMENT= XML editor WRKSRC= ${WRKDIR}/${PORTNAME} -USE_BISON= build -USE_GNOME= gnomehack libglade +USES= bison pathfix +USE_GNOME= libglade USE_GMAKE= yes USE_AUTOTOOLS= libtool CPPFLAGS+= -I${LOCALBASE}/include -- cgit v1.2.3