# $NetBSD: Makefile,v 1.21 2006/02/05 23:11:31 joerg Exp $ DISTNAME= ${DISTFILES} PKGNAME= XFree86-server-${XF_VER} PKGREVISION= 4 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_XFREE} DISTFILES= XFree86-${XF_VER}-src-1.tgz XFree86-${XF_VER}-src-2.tgz \ XFree86-${XF_VER}-src-3.tgz MAINTAINER= xtraeme@NetBSD.org HOMEPAGE= http://www.xfree86.org/ COMMENT= XFree86 X server and related programs DISTINFO_FILE= ${.CURDIR}/../../x11/XFree86-libs/distinfo PATCHDIR= ${.CURDIR}/../../x11/XFree86-libs/patches XBUILD_DIRS= lib/font lib/lbxutil lib/Xdmcp lib/Xau \ programs/Xserver XINCLUDE_DIRS= lib/xkbfile lib/xtrans XINSTALL_DIRS= lib/font/FreeType lib/font/X-TrueType \ lib/font/Speedo lib/font/Type1 \ 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_TOOLS+= perl # Yeah, we need this :-) .endif post-install: ${CHMOD} a+r ${X11ROOT}/bin/XFree86 .include "../../fonts/fontconfig/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" .include "../../mk/x11.buildlink3.mk" .include "../../meta-pkgs/XFree86/Makefile.common" .include "../../mk/bsd.pkg.mk"