Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 2014 08:02:55 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r362186 - head/x11/xterm
Message-ID:  <201407180802.s6I82tph013879@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Jul 18 08:02:55 2014
New Revision: 362186
URL: http://svnweb.freebsd.org/changeset/ports/362186
QAT: https://qat.redports.org/buildarchive/r362186/

Log:
  - Add radio-style selection of Xaw3d/Xaw3dxft/neXtaw
  - Add option to enable the logging function of xterm
  
  Submitted by:   "S. Wall" <xterm-user@wallfamily.us> (based on)

Modified:
  head/x11/xterm/Makefile

Modified: head/x11/xterm/Makefile
==============================================================================
--- head/x11/xterm/Makefile	Fri Jul 18 07:50:25 2014	(r362185)
+++ head/x11/xterm/Makefile	Fri Jul 18 08:02:55 2014	(r362186)
@@ -15,7 +15,7 @@ COMMENT=	Terminal emulator for the X Win
 
 CONFLICTS=	x11iraf-[0-9]*
 
-USE_XORG=	xaw xft
+USE_XORG=	xft
 GNU_CONFIGURE=	yes
 
 CONFIGURE_ARGS+=	--with-utempter --enable-narrowproto
@@ -25,7 +25,9 @@ LIBS+=		-L${LOCALBASE}/lib
 
 ICONVERSION=	1
 
-OPTIONS_DEFINE=	WCHAR LUIT DECTERM PCRE DABBREV 256COLOR SIXEL GNOME XAW3DXFT
+OPTIONS_DEFINE=	WCHAR LUIT DECTERM PCRE DABBREV 256COLOR SIXEL GNOME LOGGING
+OPTIONS_RADIO=	3D
+OPTIONS_RADIO_3D=	XAW3D XAW3DXFT NEXTAW
 
 DABBREV_DESC=	Enable support for dabbrev-expand
 DECTERM_DESC=	Enable DECterm Locator support
@@ -33,7 +35,10 @@ LUIT_DESC=	Use LUIT for locale convertio
 SIXEL_DESC=	Enable Sixel graphics support
 WCHAR_DESC=	Enable wide-character support
 256COLOR_DESC=	Enable 256-color support
-XAW3DXFT_DESC=	Enable Xaw 3d xft library support
+LOGGING_DESC=	Enable logging terminal I/O to a file
+XAW3D_DESC=	Link with Xaw 3d library
+XAW3DXFT_DESC=	Link with Xaw 3d xft (extended fonts) library
+NEXTAW_DESC=	Link with neXT Athena library
 
 OPTIONS_DEFAULT=WCHAR LUIT 256COLOR
 
@@ -47,11 +52,20 @@ PCRE_LIB_DEPENDS=		libpcre.so:${PORTSDIR
 DABBREV_CONFIGURE_ENABLE=	dabbrev
 SIXEL_CONFIGURE_ENABLE=		sixel-graphics
 GNOME_USES=			desktop-file-utils
+LOGGING_CONFIGURE_ENABLE=	logging
+XAW3D_CONFIGURE_WITH=		Xaw3d
+XAW3D_LIB_DEPENDS=		libXaw3d.so:${PORTSDIR}/x11-toolkits/Xaw3d
 XAW3DXFT_CONFIGURE_WITH=	Xaw3dxft
 XAW3DXFT_LIB_DEPENDS=		libXaw3dxft.so:${PORTSDIR}/x11-toolkits/libxaw3dxft
+NEXTAW_CONFIGURE_WITH=		neXtaw
+NEXTAW_LIB_DEPENDS=		libneXtaw.so:${PORTSDIR}/x11-toolkits/neXtaw
 
 .include <bsd.port.options.mk>
 
+.if ! ${PORT_OPTIONS:MXAW3D} && ! ${PORT_OPTIONS:MXAW3DXFT} && ! ${PORT_OPTIONS:MNEXTAW}
+USE_XORG+=	xaw
+.endif
+
 .if ${OSVERSION} < 900004
 LIB_DEPENDS+=	libutempter.so:${PORTSDIR}/sysutils/libutempter
 .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407180802.s6I82tph013879>