b3c869bb5c
XFree86 4.3.99.
75 lines
2.3 KiB
Makefile
75 lines
2.3 KiB
Makefile
# New ports collection makefile for: XFree86-clients
|
|
# Date created: 10 Oct 1999
|
|
# Whom: taguchi@tohoku.iij.ad.jp
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= clients
|
|
PORTVERSION= 4.3.0
|
|
PORTREVISION= 6
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${MASTER_SITE_XFREE}
|
|
MASTER_SITE_SUBDIR= 4.3.0
|
|
PKGNAMEPREFIX= XFree86-
|
|
DISTFILES= X430src-1.tgz \
|
|
X430src-2.tgz \
|
|
X430src-3.tgz \
|
|
X430src-4.tgz
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
COMMENT= XFree86-4 client programs and related files
|
|
|
|
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
|
|
Xcursor.1:${PORTSDIR}/x11/XFree86-4-libraries \
|
|
png.5:${PORTSDIR}/graphics/png \
|
|
Xft.2:${PORTSDIR}/x11-fonts/Xft
|
|
|
|
SCRIPTS_ENV= InstallXdmConfig=${InstallXdmConfig} \
|
|
InstallXinitConfig=${InstallXinitConfig} \
|
|
InstallAppDefFiles=${InstallAppDefFiles}
|
|
|
|
MAKE_ENV= PKGNAMEPREFIX=${PKGNAMEPREFIX} \
|
|
PORTNAME=${PORTNAME} \
|
|
PORTVERSION=${PORTVERSION}
|
|
XBUILD_DIRS= lib/xtrans lib/lbxutil programs fonts/util
|
|
XINSTALL_DIRS= programs fonts/util
|
|
XINSTALL_MAN_DIRS= programs
|
|
|
|
.for pf in patch-bdftruncate.pl patch-ucs2any.pl \
|
|
patch-Xres.cpp patch-Imake.rules
|
|
EXTRA_PATCHES+= ${FILESDIR}/${pf}
|
|
.endfor
|
|
|
|
# ---
|
|
# XFree86 User Config:
|
|
# Name Default Meaning
|
|
# ----------------------------------------------------------------------------
|
|
# HasSecureRPC YES build with SecureRPC (require FreeBSD-3 or later)
|
|
# HasPam YES support PAM (require FreeBSD-3.1 or later)
|
|
# InstallXdmConfig YES install config files for xdm.
|
|
# InstallXinitConfig YES install config files for xinit.
|
|
# InstallAppDefFiles YES install resource files.
|
|
# ----------------------------------------------------------------------------
|
|
# DEFAULT means ports will use values which set by ${PORTSDIR}/devel/imake-4
|
|
#
|
|
InstallXdmConfig?= DEFAULT
|
|
InstallXinitConfig?= DEFAULT
|
|
InstallAppDefFiles?= DEFAULT
|
|
|
|
.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
|
|
|
|
.if defined(WITH_SETUID_LUIT)
|
|
post-install:
|
|
${CHOWN} root:wheel ${PREFIX}/bin/luit
|
|
${CHMOD} 04711 ${PREFIX}/bin/luit
|
|
.endif
|
|
|
|
.include "${.CURDIR}/../../x11/XFree86-4-libraries/Makefile.inc"
|
|
.include <bsd.port.pre.mk>
|
|
.include "${FILESDIR}/manpages"
|
|
.include <bsd.port.post.mk>
|