2001-06-12 16:59:53 +02:00
|
|
|
# New ports collection makefile for: XFree86-libraries
|
2000-06-08 12:42:32 +02:00
|
|
|
# Date created: 10 Oct 1999
|
|
|
|
# Whom: taguchi@tohoku.iij.ad.jp
|
1995-04-12 22:26:23 +02:00
|
|
|
#
|
1999-08-31 04:51:23 +02:00
|
|
|
# $FreeBSD$
|
1995-04-12 22:26:23 +02:00
|
|
|
#
|
|
|
|
|
2000-06-08 12:42:32 +02:00
|
|
|
PORTNAME= libraries
|
2003-03-12 00:38:11 +01:00
|
|
|
PORTVERSION= 4.3.0
|
2003-09-04 00:12:51 +02:00
|
|
|
PORTREVISION= 6
|
1996-11-09 03:08:56 +01:00
|
|
|
CATEGORIES= x11
|
2002-08-02 04:57:26 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_XFREE:S/$/:x/} \
|
|
|
|
${MASTER_SITE_LOCAL:S/$/:local/}
|
2003-03-12 00:38:11 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTVERSION}/:x \
|
2002-08-02 04:57:26 +02:00
|
|
|
anholt/:local
|
2000-06-08 12:42:32 +02:00
|
|
|
PKGNAMEPREFIX= XFree86-
|
2003-03-12 00:38:11 +01:00
|
|
|
DISTFILES= X430src-1.tgz:x \
|
|
|
|
X430src-2.tgz:x \
|
|
|
|
X430src-3.tgz:x \
|
2003-01-24 05:14:16 +01:00
|
|
|
Wraphelp2.gz:local
|
2003-03-12 00:38:11 +01:00
|
|
|
EXTRACT_ONLY= X430src-1.tgz \
|
|
|
|
X430src-2.tgz \
|
|
|
|
X430src-3.tgz
|
2002-03-19 17:43:34 +01:00
|
|
|
|
2002-07-14 22:26:33 +02:00
|
|
|
MAINTAINER= anholt@freebsd.org
|
2003-03-12 00:38:11 +01:00
|
|
|
COMMENT= XFree86-4 libraries and headers
|
1995-01-05 04:51:15 +01:00
|
|
|
|
2003-05-14 09:02:07 +02:00
|
|
|
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
|
|
|
|
fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
|
2000-04-30 10:21:56 +02:00
|
|
|
|
2003-05-14 09:02:07 +02:00
|
|
|
USE_X_PREFIX= no
|
2000-08-25 12:35:22 +02:00
|
|
|
PREFIX?= ${X11BASE}
|
|
|
|
MTREE_FILE= /etc/mtree/BSD.x11-4.dist
|
|
|
|
INSTALLS_SHLIB= yes
|
2003-05-14 09:02:07 +02:00
|
|
|
SCRIPTS_ENV= DebuggableLibraries=${DebuggableLibraries}
|
2003-03-12 00:38:11 +01:00
|
|
|
MAN3= Xaw.3 Xcursor.3 Xrandr.3
|
2002-09-18 06:23:00 +02:00
|
|
|
XBUILD_DIRS= lib nls programs/Xserver/include \
|
2003-03-12 00:38:11 +01:00
|
|
|
programs/Xserver/hw/xfree86/parser
|
2002-09-18 06:23:00 +02:00
|
|
|
XINCLUDE_DIRS= programs/proxymngr
|
|
|
|
XINSTALL_DIRS= include lib nls programs/Xserver/include \
|
|
|
|
programs/Xserver/hw/xfree86/parser
|
|
|
|
XINSTALL_MAN_DIRS= ${XINSTALL_DIRS}
|
2001-03-26 01:04:52 +02:00
|
|
|
|
|
|
|
# XFree86 User Config:
|
|
|
|
# DebuggableLibraries NO build with debug libs (require FreeBSD-4 or later)
|
|
|
|
# ----------------------------------------------------------------------------
|
2003-03-12 00:38:11 +01:00
|
|
|
DebuggableLibraries?= NO
|
2001-03-26 01:04:52 +02:00
|
|
|
# End of XFree86 User Config
|
1995-01-05 04:51:15 +01:00
|
|
|
|
2002-09-14 15:32:06 +02:00
|
|
|
.ifdef USE_XLIB
|
|
|
|
.error You have `USE_XLIB' variable defined either in environment or in make(1) arguments. Please undefine and try again.
|
|
|
|
.endif
|
|
|
|
|
2003-05-14 09:02:07 +02:00
|
|
|
.include "Makefile.inc"
|
2000-09-29 03:39:58 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
# BuildXF86DRI is false for FreeBSD < 4.1
|
|
|
|
.if ${OSVERSION} < 410000
|
2001-01-16 18:33:20 +01:00
|
|
|
PLIST_SUB+= OSMESA:="@comment "
|
2000-09-29 03:39:58 +02:00
|
|
|
.else
|
2001-01-16 18:33:20 +01:00
|
|
|
PLIST_SUB+= OSMESA:=""
|
2000-09-29 03:39:58 +02:00
|
|
|
.endif
|
|
|
|
|
2002-11-02 01:45:49 +01:00
|
|
|
# sparc64 doesn't have a working libc_r yet, and -current doesn't need libXThrStub.
|
|
|
|
.if ${MACHINE_ARCH} == "sparc64" || ${OSVERSION} >= 500043
|
2002-09-19 03:41:58 +02:00
|
|
|
PLIST_SUB+= XTHRSTUB:="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= XTHRSTUB:=""
|
|
|
|
.endif
|
|
|
|
|
2002-07-18 22:30:22 +02:00
|
|
|
post-extract:
|
2003-01-24 05:14:16 +01:00
|
|
|
${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/Wraphelp2.gz > \
|
2002-08-02 04:57:26 +02:00
|
|
|
${WRKSRC}/lib/Xdmcp/Wraphelp.c
|
2002-07-18 22:30:22 +02:00
|
|
|
|
2002-03-17 00:40:19 +01:00
|
|
|
post-patch:
|
2002-11-25 01:07:40 +01:00
|
|
|
${CP} ${MASTERDIR}/files/nls::Compose::microsoft-cp1251 ${WRKSRC}/nls/Compose/microsoft-cp1251
|
1998-11-14 10:43:39 +01:00
|
|
|
|
2002-03-17 00:40:19 +01:00
|
|
|
post-install:
|
2002-09-18 06:23:00 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/programs/proxymngr/PM.h \
|
|
|
|
${PREFIX}/include/X11/PM
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/programs/proxymngr/PMproto.h \
|
|
|
|
${PREFIX}/include/X11/PM
|
2003-05-14 09:02:07 +02:00
|
|
|
${MKDIR} ${PREFIX}/libdata/pkgconfig
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/Xcursor/xcursor.pc \
|
|
|
|
${PREFIX}/libdata/pkgconfig
|
2002-03-17 00:40:19 +01:00
|
|
|
|
2000-09-29 03:39:58 +02:00
|
|
|
.include <bsd.port.post.mk>
|