openbsd-ports/x11/xterm/Makefile
naddy edac17da86 add flavors to build
- with 256-color support
- without Tektronix 4014 emulation
- with Xaw3d
requested by espie@

switch from imake to autoconf to support flavors
2000-07-11 00:15:28 +00:00

38 lines
748 B
Makefile

# $OpenBSD: Makefile,v 1.4 2000/07/11 00:15:28 naddy Exp $
DISTNAME= xterm-139
CATEGORIES= x11
NEED_VERSION= 1.312
HOMEPAGE= http://dickey.his.com/xterm/xterm.html
MAINTAINER= naddy@openbsd.org
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
FLAVORS= col256 no_tek xaw3d
FLAVOR?=
MASTER_SITES= ftp://dickey.his.com/xterm/
EXTRACT_SUFX= .tgz
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --enable-wide-chars
CFLAGS+= -DUSE_POSIX_TERMIOS=1
.if ${FLAVOR:L:Mcol256}
CONFIGURE_ARGS+= --enable-256-color
.endif
.if ${FLAVOR:L:Mno_tek}
CONFIGURE_ARGS+= --disable-tek4014
.endif
.if ${FLAVOR:L:Mxaw3d}
LIB_DEPENDS+= Xaw3d.6.1::x11/Xaw3d
CONFIGURE_ARGS+= --with-Xaw3d
.endif
.include <bsd.port.mk>