blob: 14231722544c6d3374f19ad89c381aae07d7594b (
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
140
141
142
143
144
145
|
# New ports collection makefile for: XFree86-libraries
# Date created: 10 Oct 1999
# Whom: taguchi@tohoku.iij.ad.jp
#
# $FreeBSD$
#
PORTNAME= libraries
PORTVERSION= 4.5.0
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
PKGNAMEPREFIX= XFree86-
DISTFILES= XFree86-${PORTVERSION}-src-1.tgz \
XFree86-${PORTVERSION}-src-2.tgz \
XFree86-${PORTVERSION}-src-3.tgz
MAINTAINER= x11@FreeBSD.org
COMMENT= XFree86-4 libraries and headers
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
CONFLICTS= Mesa-[0-9]* libX11-[0-9]* libGL-[0-9]* libGLU-[0-9]* \
libICE-[0-9]* libSM-[0-9]* libXau-[0-9]* libXaw-[0-9]* \
libXcursor-[0-9]* libXdmcp-[0-9]* libXext-[0-9]* \
libXfont-[0-9]* libXi-[0-9]* libXinerama-[0-9]* libXmu-[0-9]* \
libXp-[0-9]* libXpm-[0-9]* libXrandr-[0-9]* libXrender-[0-9]* \
libXres-[0-9]* libXt-[0-9]* libXv-[0-9]* libXxf86-[0-9]* \
libxkbfile-[0-9]* panoramixext-[0-9]* printext-[0-9]* \
randrext-[0-9]* renderext-[0-9]* resourceext-[0-9]* \
xextensions-[0-9]* xf86ext-[0-9]* xlibs-[0-9]* \
xorg-libraries-[0-9]* xpm-[0-9]* xproto-[0-9]*
DEPRECATED= isn't maintained anymore
EXPIRATION_DATE= 2007-12-25
USE_X_PREFIX= no
PREFIX?= ${X11BASE}
MTREE_FILE= ${PORTSDIR}/Templates/BSD.local.dist
INSTALLS_SHLIB= yes
SCRIPTS_ENV= DebuggableLibraries=${DebuggableLibraries}
MAN3= FontCacheChangeCacheSettings.3 \
FontCacheGetCacheSettings.3 \
FontCacheGetCacheStatistics.3 \
FontCacheQueryExtension.3 \
FontCacheQueryVersion.3 \
XDGA.3 \
XDGAChangePixmapMode.3 \
XDGACloseFramebuffer.3 \
XDGACopyArea.3 \
XDGACopyTransparentArea.3 \
XDGACreateColormap.3 \
XDGAFillRectangle.3 \
XDGAGetViewportStatus.3 \
XDGAInstallColormap.3 \
XDGAKeyEventToXKeyEvent.3 \
XDGAOpenFramebuffer.3 \
XDGAQueryExtension.3 \
XDGAQueryModes.3 \
XDGAQueryVersion.3 \
XDGASelectInput.3 \
XDGASetClientVersion.3 \
XDGASetMode.3 \
XDGASetViewport.3 \
XDGASync.3 \
XF86DGA.3 \
XFree86-DGA.3 \
XRes.3 \
XResQueryClientPixmapBytes.3 \
XResQueryClientResources.3 \
XResQueryClients.3 \
XResQueryExtension.3 \
XResQueryVersion.3 \
XScreenSaverAllocInfo.3 \
XScreenSaverGetRegistered.3 \
XScreenSaverQueryExtension.3 \
XScreenSaverQueryInfo.3 \
XScreenSaverQueryVersion.3 \
XScreenSaverRegister.3 \
XScreenSaverSelectInput.3 \
XScreenSaverSetAttributes.3 \
XScreenSaverUnregister.3 \
XScreenSaverUnsetAttributes.3 \
Xaw.3 \
Xcursor.3 \
Xfontcache.3 \
Xrandr.3 \
Xss.3
XBUILD_DIRS= lib nls programs/Xserver/include \
programs/Xserver/hw/xfree86/parser
XINCLUDE_DIRS= programs/proxymngr
XINSTALL_DIRS= include lib nls programs/Xserver/include \
programs/Xserver/hw/xfree86/parser
XINSTALL_MAN_DIRS= ${XINSTALL_DIRS}
# XFree86 User Config:
# DebuggableLibraries NO build with debug libs
# (requires FreeBSD 4.X or later)
# ----------------------------------------------------------------------------
DebuggableLibraries?= NO
# End of XFree86 User Config
.ifdef USE_XLIB
.error You have `USE_XLIB' variable defined either in environment or in make(1) arguments. Please undefine and try again.
.endif
.include "Makefile.inc"
.include <bsd.port.pre.mk>
.if ${X_WINDOW_SYSTEM:L} != xfree86-4
IGNORE= is part of XFree86 and you have ${X_WINDOW_SYSTEM} set for X11\
distribution. See The X Window System and Virtual Consoles chapter\
of FAQ for more information
.endif
PLIST_SUB+= OSMESA:=""
# sparc64 doesn't have a working libc_r yet, and -current doesn't need
# libXThrStub.
#.if ${ARCH} == "sparc64" || ${OSVERSION} >= 500043
#PLIST_SUB+= XTHRSTUB:="@comment "
#.else
#PLIST_SUB+= XTHRSTUB:=""
#.endif
post-patch:
${CP} ${FILESDIR}/nls::Compose::microsoft-cp1251 \
${WRKSRC}/nls/Compose/microsoft-cp1251
post-install:
${MKDIR} ${PREFIX}/include/X11/PM
${INSTALL_DATA} ${WRKSRC}/programs/proxymngr/PM.h \
${PREFIX}/include/X11/PM
${INSTALL_DATA} ${WRKSRC}/programs/proxymngr/PMproto.h \
${PREFIX}/include/X11/PM
${MKDIR} ${PREFIX}/libdata/pkgconfig
${INSTALL_DATA} ${WRKSRC}/lib/Xcursor/xcursor.pc \
${PREFIX}/libdata/pkgconfig
${MKDIR} ${PREFIX}/lib/X11/xserver
${INSTALL_DATA} ${WRKSRC}/programs/Xserver/Xext/SecurityPolicy \
${PREFIX}/lib/X11/xserver/SecurityPolicy.default
.include <bsd.port.post.mk>
|