summaryrefslogtreecommitdiff
path: root/devel/imake-4/Makefile
blob: 3c650db988cb8845eb7442ee75c84e0dc5195f8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
# 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>