blob: b74044242e1e5fd47261780d8f3e13a1cb233e1a (
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
|
# New ports collection makefile for: XFree86-libraries
# Date created: 10 Oct 1999
# Whom: taguchi@tohoku.iij.ad.jp
#
# $FreeBSD$
#
PORTNAME= libraries
PORTVERSION= 4.2.0
PORTREVISION= 2
CATEGORIES= x11
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}
PKGNAMEPREFIX= XFree86-
EXTRACT_ONLY= X${PORTVERSION:S/.//g}src-1.tgz
DISTFILES= X${PORTVERSION:S/.//g}src-1.tgz Wraphelp.c:wrap
IGNOREFILES= Wraphelp.c
PATCH_SITES= ${MASTER_SITE_XFREE:S/source//g}
PATCH_SITE_SUBDIR= ${PORTVERSION}/fixes
PATCHFILES= 4.2.0-xlib-i18n-module.patch \
4.2.0-libGLU-bad-extern.patch
PATCH_DIST_STRIP= -p1
MAINTAINER= anholt@freebsd.org
BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake-4
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
RUN_DEPENDS= mkhtmlindex:${PORTSDIR}/devel/imake-4
XFREE86_VERSION= 4
PREFIX?= ${X11BASE}
MANCOMPRESSED= yes
XFREE86_HTML_MAN= yes
MTREE_FILE= /etc/mtree/BSD.x11-4.dist
INSTALLS_SHLIB= yes
DIST_SUBDIR= xc
WRKSRC= ${WRKDIR}/xc
SCRIPTS_ENV= HasXdmAuth=${HasXdmAuth} \
HasSecureRPC=${HasSecureRPC} \
BuildPexExt=${BuildPexExt} \
BuildXinerama=${BuildXinerama} \
BuildXIE=${BuildXIE} \
BuildAoutLibraries=${BuildAoutLibraries} \
ForceNormalLib=${ForceNormalLib} \
DebuggableLibraries=${DebuggableLibraries}
MAKE_ENV= PKGNAMEPREFIX=${PKGNAMEPREFIX} \
PORTNAME=${PORTNAME} \
PORTVERSION=${PORTVERSION}
ALL_TARGET= FreeBSDPortsBuild
INSTALL_TARGET= FreeBSDPortsInstall FreeBSDPortsInstall.man installXlib
MAN1= libxrx.1
MAN3= Xaw.3 Xft.3
# XFree86 User Config:
# ---
# Name Default Meaning
# ----------------------------------------------------------------------------
# HasXdmAuth YES support XDM-AUTHORIZATION-1.
# HasSecureRPC YES build with SecureRPC (require FreeBSD-3 or later)
# BuildPexExt YES build PEX extension
# BuildXinerama YES build Xinerama extension
# BuildXIE YES build XIE extension
# BuildAoutLibraries NO build with old Aout libs.
# ForceNormalLib YES build with static libs.
# DebuggableLibraries NO build with debug libs (require FreeBSD-4 or later)
# ----------------------------------------------------------------------------
# DEFAULT means ports will use values which set by ${PORTSDIR}/devel/imake-4
#
HasXdmAuth?= YES
HasSecureRPC?= DEFAULT
BuildPexExt?= DEFAULT
BuildXinerama?= DEFAULT
BuildXIE?= DEFAULT
BuildAoutLibraries?= DEFAULT
ForceNormalLib?= DEFAULT
DebuggableLibraries?= DEFAULT
# End of XFree86 User Config
.include <bsd.port.pre.mk>
# BuildXF86DRI is false for FreeBSD < 4.1
.if ${OSVERSION} < 410000
PLIST_SUB+= OSMESA:="@comment "
.else
PLIST_SUB+= OSMESA:=""
.endif
post-patch:
cd ${WRKSRC}/nls; \
for i in Compose XI18N_OBJS XLC_LOCALE; do \
${LN} -s zh_TW.big5 $$i/zh_TW.Big5; \
done
do-configure:
cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure
@cd ${WRKSRC}; ${MAKE} FreeBSDPortsConfigure
post-install:
@${MKHTMLINDEX} ${X11BASE}/lib/X11/doc/html
.include <bsd.port.post.mk>
|