blob: 8b32da607a8ebf4e74d42c59f5074850b3976530 (
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
139
|
# New ports collection makefile for: Imake
# Date created: 01 Mar 2000
# Whom: max
#
# $FreeBSD$
#
PORTNAME= imake
PORTVERSION= 4.1.0
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= 4.1.0
DISTFILES= X410src-1.tgz
MAINTAINER= taguchi@tohoku.iij.ad.jp
PREFIX?= ${X11BASE}
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
LATEST_LINK= imake-4
# ---
# User Config:
# All variables are same as Imake config macros.
# For more details, see ${WRKDIR}/xc/config/cf/README.
# Followings will write to ${PFEFIX}/lib/X11/config/xf86site.def,
# and all of XFree86-4-* ports will use them as default value.
# Offcause, 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
.if ${HasXdmAuth} == YES
.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
.if !exists(${DISTDIR}/${DIST_SUBDIR}/Wraphelp.c)
pre-everything::
@${ECHO_MSG} "You don't have Wraphelp.c: HasXdmAuth disabled."
HasXdmAuth= NO
.else
pre-everything::
@${ECHO_MSG} "Assuming that you have fetched a USA-Legal Wraphelp.c."
.endif # ! having Wraphelp.c
.else
MASTER_SITES+= ftp://psych.psy.uq.oz.au/pub/X11R5/ \
ftp://ftp.internat.freebsd.org/pub/FreeBSD/X11-Crypto/ \
ftp://ftp3.za.freebsd.org/pub/FreeBSD/X11-Crypto/
EXTRACT_ONLY= X410src-1.tgz
DISTFILES+= Wraphelp.c
IGNOREFILES= Wraphelp.c
.endif # USA_RESIDENT
.endif # HasXdmAuth
.include <bsd.port.mk>
|