2004-12-02 23:53:58 +01:00
|
|
|
# $NetBSD: Makefile,v 1.11 2004/12/02 22:53:58 hira Exp $
|
2004-07-29 06:52:39 +02:00
|
|
|
|
|
|
|
DISTNAME= ${DISTFILES}
|
|
|
|
PKGNAME= xorg-server-${XORG_VER}
|
2004-10-08 05:35:25 +02:00
|
|
|
PKGREVISION= 1
|
2004-07-29 06:52:39 +02:00
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= ${MASTER_SITE_XORG}
|
2004-09-21 19:38:52 +02:00
|
|
|
DISTFILES= X11R${XORG_VER}-src1.tar.gz \
|
|
|
|
X11R${XORG_VER}-src2.tar.gz \
|
|
|
|
X11R${XORG_VER}-src3.tar.gz
|
2004-07-29 06:52:39 +02:00
|
|
|
|
|
|
|
MAINTAINER= xtraeme@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.x.org/
|
|
|
|
COMMENT= X.org X server and related programs
|
|
|
|
|
|
|
|
USE_X11= yes
|
|
|
|
USE_BUILDLINK3= yes
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../x11/xorg-libs/distinfo
|
|
|
|
PATCHDIR= ${.CURDIR}/../../x11/xorg-libs/patches
|
|
|
|
|
|
|
|
XBUILD_DIRS= lib/font lib/lbxutil lib/Xdmcp lib/Xau \
|
|
|
|
programs/Xserver
|
|
|
|
XINCLUDE_DIRS= lib/xkbfile lib/xtrans
|
2004-09-21 19:38:52 +02:00
|
|
|
XINSTALL_DIRS= lib/font/FreeType \
|
|
|
|
lib/font/Type1 \
|
2004-07-29 06:52:39 +02:00
|
|
|
lib/font/bitmap programs/Xserver
|
|
|
|
XINSTALL_MAN_DIRS= programs/Xserver
|
|
|
|
|
|
|
|
REPLACE_PERL= exports/lib/modules/getconfig*
|
|
|
|
|
|
|
|
SUBST_CLASSES= parser
|
|
|
|
SUBST_STAGE.parser= pre-install
|
|
|
|
SUBST_FILES.parser= programs/Xserver/hw/xfree86/parser/Makefile
|
|
|
|
SUBST_SED.parser= -e '/$$(INSTALL).*lib$$(LIBNAME).a/ d'
|
|
|
|
SUBST_SED.parser+= -e '/$$(RANLIB).*lib$$(LIBNAME).a/ d'
|
|
|
|
SUBST_SED.parser+= -e 's|$$(INSTALL) $$(INSTALLFLAGS) $$(INSTINCFLAGS)|echo|'
|
|
|
|
SUBST_MESSAGE.parser= "Fixing parser Makefile."
|
|
|
|
|
|
|
|
SUBST_CLASSES+= stubs
|
|
|
|
SUBST_STAGE.stubs= pre-install
|
|
|
|
SUBST_FILES.stubs= lib/font/stubs/Makefile
|
|
|
|
SUBST_SED.stubs= -e '/$$(INSTALL).*libfntstubs.a/ d'
|
|
|
|
SUBST_SED.stubs+= -e '/$$(RANLIB).*libfntstubs.a/ d'
|
|
|
|
SUBST_MESSAGE.stubs= "Fixing stubs Makefile."
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} != "NetBSD"
|
|
|
|
USE_PERL5= build # Yeah, we need this :-)
|
|
|
|
.endif
|
|
|
|
|
2004-11-15 12:15:55 +01:00
|
|
|
.if !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64)
|
|
|
|
PLIST_SUBST+= NOT_X86_64="@comment "
|
2004-12-02 23:53:58 +01:00
|
|
|
.else
|
|
|
|
PLIST_SUBST+= NOT_X86_64=""
|
2004-11-15 12:15:55 +01:00
|
|
|
.endif
|
|
|
|
|
2004-07-29 06:52:39 +02:00
|
|
|
post-install:
|
2004-07-30 06:39:08 +02:00
|
|
|
${CHMOD} a+r ${X11ROOT}/bin/Xorg
|
2004-07-29 06:52:39 +02:00
|
|
|
|
2004-09-21 19:38:52 +02:00
|
|
|
.if ${OPSYS} == "Linux"
|
|
|
|
. include "../../x11/Xrender/buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
|
2004-07-29 06:52:39 +02:00
|
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
|
|
.include "../../meta-pkgs/xorg/Makefile.common"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|