freebsd-ports/devel/imake-4/Makefile
Maxim Sobolev 4fe6852b8f Due to popular demant into each port which might be inserted into dependency
list by bsd.port.mk insert anti foot-shooting device, which prevents
infinite fork loop when the user defines corresponding USE_XXX in global
make.conf, command line or environment.

Similar devices should probably be inserted into ports that might be inserted
into dependency list by others bsd.foo.mk files (bsd.ruby.mk, bsd.python.mk
and so on.)
2002-09-14 13:32:06 +00:00

138 lines
4.3 KiB
Makefile

# New ports collection makefile for: Imake
# Date created: 01 Mar 2000
# Whom: max
#
# $FreeBSD$
#
PORTNAME= imake
PORTVERSION= 4.2.0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_XFREE} \
ftp://psych.psy.uq.oz.au/pub/X11R5/:wrap \
ftp://ftp.internat.FreeBSD.org/pub/FreeBSD/X11-Crypto/:wrap \
ftp://ftp3.za.FreeBSD.org/pub/FreeBSD/X11-Crypto/:wrap
MASTER_SITE_SUBDIR= ${PORTVERSION}
DISTFILES= X${PORTVERSION:S/.//g}src-1.tgz
EXTRACT_ONLY= X${PORTVERSION:S/.//g}src-1.tgz
MAINTAINER= anholt@freebsd.org
PREFIX?= ${X11BASE}
USE_PERL5= YES
.ifdef USE_IMAKE
.error You have `USE_IMAKE' variable defined either in environment or in make(1) arguments. Please undefine and try again.
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
LATEST_LINK= imake4
.else
LATEST_LINK= imake
.endif
DIST_SUBDIR= xc
WRKSRC= ${WRKDIR}/xc/config
MTREE_FILE= /etc/mtree/BSD.x11-4.dist
PATCH_DIST_ARGS= --force -d ${WRKDIR} --forward --quiet -E ${PATCH_DIST_STRIP} 2>/dev/null || true
EXTRACT_AFTER_ARGS= | ${TAR} -xf - xc/Imakefile \
xc/Makefile \
xc/config \
xc/include \
xc/extras \
xc/programs/Xserver/hw/xfree86/xf86Version.h
MAN1= imake.1 \
lndir.1 \
makedepend.1 \
makeg.1 \
makestrs.1 \
mkdirhier.1 \
pswrap.1 \
revpath.1 \
rman.1 \
xmkmf.1
MANCOMPRESSED= yes
SCRIPTS_ENV+= OSVERSION=${OSVERSION} \
HasSecureRPC=${HasSecureRPC} \
HasXdmAuth=${HasXdmAuth} \
HasPam=${HasPam} \
BuildPexExt=${BuildPexExt} \
BuildXinerama=${BuildXinerama} \
BuildXIE=${BuildXIE} \
BuildAoutLibraries=${BuildAoutLibraries} \
ForceNormalLib=${ForceNormalLib} \
DebuggableLibraries=${DebuggableLibraries} \
JoystickSupport=${JoystickSupport} \
InstallXdmConfig=${InstallXdmConfig} \
InstallXinitConfig=${InstallXinitConfig} \
InstallAppDefFiles=${InstallAppDefFiles} \
ExtendedInputDevices=${ExtendedInputDevices} \
Build75DpiFonts=${Build75DpiFonts} \
Build100DpiFonts=${Build100DpiFonts} \
BuildSpeedoFonts=${BuildSpeedoFonts} \
BuildType1Fonts=${BuildType1Fonts} \
BuildCIDFonts=${BuildCIDFonts} \
BuildTTFonts=${BuildTTFonts}
INSTALL_TARGET= install install.man
# ---
# User Config:
# All variables are the same as Imake config macros.
# For more details, see ${WRKDIR}/xc/config/cf/README.
# Following will write to ${PREFIX}/lib/X11/config/xf86site.def,
# and all of XFree86-4-* ports will use them as default value.
# Of course, you can override them (at your own risk ;-).
# Read scripts/configure for more details.
# ---
HasSecureRPC?= YES
HasXdmAuth?= YES
HasPam?= YES
BuildPexExt?= YES
BuildXinerama?= YES
BuildXIE?= YES
BuildAoutLibraries?= NO
ForceNormalLib?= YES
DebuggableLibraries?= NO
JoystickSupport?= YES
InstallXdmConfig?= YES
InstallXinitConfig?= YES
InstallAppDefFiles?= YES
Build75DpiFonts?= YES
Build100DpiFonts?= YES
BuildSpeedoFonts?= YES
BuildType1Fonts?= YES
BuildCIDFonts?= YES
BuildTTFonts?= YES
# ---
# Undocumented variables:
# ExtendedInputDevices: if you want to support some extended input device,
# such as wacom tablets, set YES.
# if NO, only mouse device will be supported.
ExtendedInputDevices?= YES
# ---
# Unconfigurable variables:
# BuildXF86Setup=NO : XF86Setup is now broken ;-(
#
# BuildFontServer : if you want to use xfs, then do not install its ports.
# BuildFonts : if you don't need fonts, then do not install its ports.
# BuildCyrillicFonts : install ${PORTSDIR}/x11-fonts/XFree86-4-fontCyrillic
# BuildLatin2Fonts : install ${PORTSDIR}/x11-fonts/XFree86-4-fontLatin2
# [Note1] all of loadable modules (such as speedo, type1)
# will be compiled/installed as default.
# [Note2] default/traditional X11 fonts are corrected under
# ${PORTSDIR}/x11-fonts/XFree86-4-fontDefaultBitmaps.
#
# XF86CardDrivers : XFree86-4-* ports try to support many devices.
# XInputDrivers : So if you want to config them, edit manualy.
#
# NothingOutsideProjectRoot=YES : any ports will not install to /etc/ dir.
# This means config files will be installed to ${PREFIX}/lib/X11.
# It's a traditional place ;-)
# InstallXserverSetUID=NO : use Xwrapper.
# End of XFree86 configrations
post-install:
@${MKHTMLINDEX} ${PREFIX}/lib/X11/doc/html
.include <bsd.port.post.mk>