freebsd-ports/x11/xorg-clients/Makefile
Eric Anholt dcda0e48ce Add fix for VuXML ID: ff00f2ce-c54c-11d8-b708-00061bc2ad93
When the IPv6 code was added to xdm a critical test to disable xdmcp was
accidentally removed. This caused xdm to create the chooser socket regardless
if DisplayManager.requestPort was disabled in xdm-config or not.

Prodded by:	Dejan Lesjak
Obtained from:	XFree86 bugzilla / X.Org CVS
2004-07-06 00:53:26 +00:00

63 lines
1.8 KiB
Makefile

# New ports collection makefile for: xorg-clients
# Date created: 30 May 2004
# Whom: anholt@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= xorg-clients
PORTVERSION= 6.7.0
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://freedesktop.org/~xorg/X11R6.7.0/src/
DISTFILES= X11R6.7.0-src1.tar.gz \
X11R6.7.0-src2.tar.gz \
X11R6.7.0-src3.tar.gz
MAINTAINER= x11@FreeBSD.org
COMMENT= X client programs and related files from X.Org
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
expat.5:${PORTSDIR}/textproc/expat2 \
png.5:${PORTSDIR}/graphics/png \
Xft.2:${PORTSDIR}/x11-fonts/libXft
CONFLICTS= XFree86-clients-*
EXTRA_PATCHES= ${CF_PATCHES}
XINCLUDE_DIRS= lib/xtrans
XBUILD_DIRS= programs fonts/util
XMAN_DIRS= programs
USE_XLIB= yes
XDMCONFDATA= Xaccess Xresources Xservers xdm-config
XDMCONFSCRIPTS= GiveConsole TakeConsole Xsession Xsetup_0 Xwilling
.if !defined(WITH_SETUID_LUIT)
pre-everything::
@${ECHO_MSG} "If you want to use xterm with locales in a secure manner, luit must be installed"
@${ECHO_MSG} "setuid. If you want to do this, hit Ctrl-C now and use \"make WITH_SETUID_LUIT=yes\""
.endif
post-install:
.if defined(WITH_SETUID_LUIT)
${CHOWN} root:wheel ${PREFIX}/bin/luit
${CHMOD} 04711 ${PREFIX}/bin/luit
.endif
${INSTALL_DATA} ${WRKSRC}/programs/xinit/xinitrc \
${PREFIX}/lib/X11/xinit/xinitrc.default
.for i in ${XDMCONFDATA}
${INSTALL_DATA} ${WRKSRC}/programs/xdm/config/${i} \
${PREFIX}/lib/X11/xdm/${i}.default
.endfor
.for i in ${XDMCONFSCRIPTS}
${INSTALL_SCRIPT} ${WRKSRC}/programs/xdm/config/${i} \
${PREFIX}/lib/X11/xdm/${i}.default
.endfor
@${SETENV} ${SCRIPTS_ENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include "${.CURDIR}/../../x11-servers/xorg-server/Makefile.inc"
.include <bsd.port.pre.mk>
.include "${FILESDIR}/manpages"
.include <bsd.port.post.mk>