1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Convert from USE_MOTIF to USES=motif

This commit is contained in:
Baptiste Daroussin 2013-07-10 06:49:35 +00:00
parent 8b330db9e1
commit 4ab73fde6e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322620
19 changed files with 38 additions and 62 deletions

View File

@ -29,7 +29,7 @@ PLIST_FILES= bin/sqsh etc/sqshrc.default
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MX11}
USE_MOTIF= yes
USES= motif
CONFIGURE_ARGS+= --with-motif --with-x
.else
PKGNAMESUFFIX= -nox11

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: xmbase-grok
# Date created: Sat Aug 30 13:29:42 CEST 1997
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
# Created by: Andreas Klemm <andreas@klemm.gtn.com>
# $FreeBSD$
#
PORTNAME= xmbase-grok
PORTVERSION= 1.5
@ -19,8 +15,8 @@ COMMENT= Graphical Resource Organizer Kit
BUILD_WRKSRC= ${WRKDIR}/${DISTNAME}/src
USES= motif
USE_XORG= x11 xt
USE_MOTIF= yes
MAKE_ENV= MYCC="${CC}" DEBUG="${CFLAGS}" YO="" INCDIR="" \
GBIN="${PREFIX}/bin" GLIB="${DATADIR}" \
CF="-I${LOCALBASE}/include" LF="${MOTIFLIB} -lXt -lX11 -lm"

View File

@ -9,10 +9,9 @@ CATEGORIES= deskutils
MASTER_SITES= ${MASTER_SITE_FREEBSD}
MAINTAINER= sixxgate@hotmail.com
COMMENT= An application / program launcher for Motif
COMMENT= Application / program launcher for Motif
USES= imake
USE_MOTIF= yes
USES= imake motif
USE_BZIP2= yes
USE_XORG= x11 xmu xt
MAN1= mrundlg.1

View File

@ -1,9 +1,6 @@
# New ports collection makefile for: plan
# Date created: 14 April 1996
# Whom: Daniel Eischen <deischen@freebsd.org>
#
# Created by: Daniel Eischen <deischen@freebsd.org>
# $FreeBSD$
#
# Also update ports/japanese/plan/ (ja-plan) when this port is updated
PORTNAME= plan
@ -13,9 +10,9 @@ MASTER_SITES= ftp://plan.ftp.fu-berlin.de/
MASTER_SITE_SUBDIR= applications
MAINTAINER= ports@FreeBSD.org
COMMENT= An X/Motif schedule planner with calendar
COMMENT= X/Motif schedule planner with calendar
USE_MOTIF= yes
USES= motif
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
ALL_TARGET= freebsd
MAN1= netplan.1 plan.1

View File

@ -12,8 +12,7 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= X11/Motif-based addressbook program
USES= imake
USE_MOTIF= yes
USES= imake motif
USE_XORG= ice sm x11 xext xi xp xt oldx
WRKSRC= ${WRKDIR}/xmaddressbook
MAN1= xmaddressbook.1

View File

@ -14,8 +14,7 @@ COMMENT= Personal and group calendar utility
NO_CDROM= Don't sell for profit
EXTRACT_ONLY= ${DISTNAME}.tar.gz
USE_MOTIF= yes
USES= imake
USES= imake motif
USE_GCC= any
USE_XORG= x11 xext xp xpm xt
MAN1= xdaclunix.1 xdalarm.1 xdcustom.1 xddump.1 xdiary.1 xdinitdb.1 \

View File

@ -1,10 +1,5 @@
# ex:ts=8
# Ports collection makefile for: ddd
# Date created: Tue Jan 28, 1997
# Whom: David O'Brien (obrien@NUXI.com)
#
# Created by: David O'Brien <obrien@NUXI.com>
# $FreeBSD$
#
PORTNAME= ddd
PORTVERSION= 3.3.12
@ -16,9 +11,8 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= sergio@softshark.org
COMMENT= Data Display Debugger -- a common graphical front-end for GDB/DBX/XDB
USE_GMAKE= yes
USES= gmake motif
USE_XORG= xpm
USE_MOTIF= yes
GNU_CONFIGURE= yes
CFLAGS+= -Wno-deprecated

View File

@ -12,8 +12,7 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= Text editor for X/Motif
USES= imake
USE_MOTIF= yes
USES= imake motif
USE_XORG= ice sm x11 xext xmu xp xt
XMKMF= xmkmf

View File

@ -105,7 +105,7 @@ CONFIGURE_ARGS+= --with-x-toolkit=athena
USE_XORG= xaw
CONFIGURE_ARGS+= --with-x-toolkit=athena --without-xaw3d
.elif ${PORT_OPTIONS:MMOTIF}
USE_MOTIF= yes
USES+= motif
CONFIGURE_ARGS+= --with-x-toolkit=motif
.endif

View File

@ -22,8 +22,7 @@ CONFLICTS= emacs-19.* emacs-21.* emacs-22.* emacs-23.* \
EMACS_VER= 24.3
GNU_CONFIGURE= yes
USES= ncurses
USE_GMAKE= yes
USES= ncurses gmake
USE_XZ= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@ -113,7 +112,7 @@ CONFIGURE_ARGS+= --with-x-toolkit=athena
USE_XORG= xaw
CONFIGURE_ARGS+= --with-x-toolkit=athena --without-xaw3d
.elif ${PORT_OPTIONS:MMOTIF}
USE_MOTIF= yes
USES+= motif
CONFIGURE_ARGS+= --with-x-toolkit=motif
.endif

View File

@ -98,7 +98,7 @@ CONFIGURE_ARGS+= --with-x-toolkit=athena
USE_XORG= xaw
CONFIGURE_ARGS+= --with-x-toolkit=athena --without-xaw3d
.elif ${PORT_OPTIONS:MMOTIF}
USE_MOTIF= yes
USES+= motif
CONFIGURE_ARGS+= --with-x-toolkit=motif
.endif

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: nedit
# Date created: 7 April 1996
# Whom: Daniel Eischen <deischen@freebsd.org>
#
# Created by: Daniel Eischen <deischen@freebsd.org>
# $FreeBSD$
#
PORTNAME= nedit
PORTVERSION= 5.5
@ -23,11 +19,11 @@ DISTFILES= nedit-5.5-src.tar.bz2 nedit.app-defaults
EXTRACT_ONLY= nedit-5.5-src.tar.bz2
MAINTAINER= deischen@FreeBSD.org
COMMENT= An X11/Motif GUI text editor for programs and plain text files
COMMENT= X11/Motif GUI text editor for programs and plain text files
LICENSE= GPLv1
USES= motif
USE_BZIP2= yes
USE_MOTIF= yes
USE_XORG= xpm
MAN1= nclient.1 nedit.1
ALL_TARGET= freebsd

View File

@ -50,7 +50,7 @@ INDDIR= ${DATADIR}/dfa
USE_GNOME= gtk20
CONFIGURE_ARGS+=--with-GTK
.else
USE_MOTIF= yes
USES+= motif
CONFIGURE_ARGS+=--with-MOTIF
.endif

View File

@ -160,7 +160,7 @@ USE_XORG+= xt glproto
. endif
. if ${PORT_OPTIONS:MMOTIF}
USE_MOTIF= yes
USES+= motif
CONF_OPT_GUI="--enable-gui=motif --with-motif-lib=\"${MOTIFLIB}\""
MAKE_ARGS+= MOTIFHOME=${LOCALBASE}
. endif

View File

@ -120,7 +120,7 @@ PKGDIR= ${.CURDIR}/../../editors/xemacs-devel-mule
PLIST_SUB= XEMACS_VER=${XEMACS_VER} XEMACS_ARCH=${XEMACS_ARCH}
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if ${OSVERSION} >= 900000
BROKEN= does not build on FreeBSD 9.X
@ -145,7 +145,7 @@ CONFIGURE_ARGS+= --with-x11=no
@${ECHO_MSG} "which will force the use of athena widgets for dialogs."
.endif
CONFIGURE_ARGS+=--with-jpeg=yes --with-png=yes --with-tiff=yes --with-xface=yes
USE_MOTIF= yes
USES= motif
# hack to avoid shipping binaries linked with Motif
.if defined(MOTIF_STATIC)
@ -259,4 +259,4 @@ post-install:
.endif
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: X-Emacs
# Date created: 25 Oct 2001
# Whom: Gary Jennejohn (gj@FreeBSD.org)
#
# Created by: Gary Jennejohn <gj@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= xemacs-devel
PORTVERSION= ${XEMACS_VER:S/-/./}
@ -79,10 +75,10 @@ ALL_TARGET= all dist
PLIST_SUB= XEMACS_VER=${XEMACS_VER} XEMACS_ARCH=${XEMACS_ARCH}
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if exists(${LOCALBASE}/lib/libXm.so)
USE_MOTIF= yes
USES+= motif
HAVE_MOTIF= yes
.endif
@ -157,4 +153,4 @@ post-install::
# @${ECHO_MSG} "to ${PORTNAME}${PKGNAMESUFFIX}-${XEMACS_VER}."
#.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -60,7 +60,7 @@ ALL_TARGET= all dist
PLIST_SUB+= XEMACS_VER=${XEMACS_VER} XEMACS_ARCH=${XEMACS_ARCH}
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
# Undump and malloc do not behave on amd64 at the moment
.if ${ARCH} == amd64
@ -95,7 +95,7 @@ CONFIGURE_ARGS+= --with-png --with-jpeg --with-tiff
USE_XORG= xpm x11 xbitmaps xaw
CFLAGS+= -I${LOCALBASE}/include/libpng15
.if !defined(WITHOUT_MOTIF) && !defined(MOTIF_STATIC)
USE_MOTIF= yes
USES+= motif
WITH_SCROLLBARS= --with-scrollbars=motif
WITH_DIALOGS= --with-dialogs=motif
WITH_WIDGETS= --with-widgets=motif
@ -113,6 +113,8 @@ CONFIGURE_ARGS+= --with-athena=3d
CONFIGURE_ARGS+= --without-x11
.endif
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_X11) && ${HAVE_GNOME:Mgnomehier}!=""
USE_GNOME+= gnomehier
PLIST_SUB+= DESKTOP=""

View File

@ -90,7 +90,7 @@ PKGDIR= ${.CURDIR}/../../editors/xemacs21-mule
PLIST_SUB= XEMACS_VER=${XEMACS_VER} XEMACS_ARCH=${XEMACS_ARCH}
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
# Undump and malloc do not behave on amd64 at the moment
.if ${ARCH} == "amd64"
@ -112,7 +112,7 @@ pre-fetch:
@${ECHO_MSG} "In this case, set the environment variable MOTIF_STATIC and recompile, "
@${ECHO_MSG} "which will force the use of athena widgets for dialogs."
.endif
USE_MOTIF= yes
USES+= motif
# hack to avoid shipping binaries linked with Motif
.if defined(MOTIF_STATIC)
@ -215,4 +215,4 @@ post-install::
.endif
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -74,7 +74,7 @@ CONFIGURE_ARGS+= --with-screen=x11
.endif
.if ${PORT_OPTIONS:MMOTIF}
USE_MOTIF= yes
USES+= motif
CONFIGURE_ARGS+= --with-screen=motif
.endif