summaryrefslogtreecommitdiff
path: root/x11/XFree86-libs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/XFree86-libs/Makefile')
-rw-r--r--x11/XFree86-libs/Makefile42
1 files changed, 14 insertions, 28 deletions
diff --git a/x11/XFree86-libs/Makefile b/x11/XFree86-libs/Makefile
index 2b1277450c9..b74e1c9146e 100644
--- a/x11/XFree86-libs/Makefile
+++ b/x11/XFree86-libs/Makefile
@@ -1,12 +1,11 @@
-# $NetBSD: Makefile,v 1.4 2004/02/02 17:59:12 xtraeme Exp $
+# $NetBSD: Makefile,v 1.5 2004/03/28 22:06:15 xtraeme Exp $
DISTNAME= ${DISTFILES}
PKGNAME= XFree86-libs-${XF_VER}
-PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XFREE}
-DISTFILES= X430src-1.tgz X430src-2.tgz \
- X430src-3.tgz X430src-4.tgz
+DISTFILES= XFree86-4.4.0-src-1.tgz XFree86-4.4.0-src-2.tgz \
+ XFree86-4.4.0-src-3.tgz XFree86-4.4.0-src-4.tgz
MAINTAINER= xfree86@blef.org
HOMEPAGE= http://www.xfree86.org/
@@ -16,27 +15,16 @@ CONFLICTS+= xextensions-[0-9]*
CONFLICTS+= libX11-[0-9]*
CONFLICTS+= libXau-[0-9]*
-USE_IMAKE= yes
-DEPENDS= imake>=4.3.0:../../x11/imake
+DEPENDS= imake>=4.4.0:../../x11/imake
.include "../../mk/bsd.prefs.mk"
-MESSAGE_SUBST+= X11PREFIX=${X11PREFIX}
-
-.if ${OPSYS} == "NetBSD"
-PLIST_SUBST+= MANPAGE_SUFFIX=${IMAKE_MANNEWSUFFIX}
-.else
-PLIST_SUBST+= MANPAGE_SUFFIX=${IMAKE_LIBMAN_SUFFIX}
-.endif
-
-# XXX later should add CONFLICTS with XFree86-libs to these packages too
.if ${X11PREFIX} == ${LOCALBASE}
-CONFLICTS+= render-[0-9]*
-CONFLICTS+= Xrender-[0-9]*
CONFLICTS+= MesaLibs-[0-9]*
.endif
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= yes
+BUILDLINK_PASSTHRU_DIRS+= ${X11ROOT}/lib
XBUILD_DIRS= lib nls programs/Xserver/include \
programs/Xserver/hw/xfree86/parser
@@ -45,16 +33,14 @@ XINSTALL_DIRS= include lib nls programs/Xserver/include \
programs/Xserver/hw/xfree86/parser
XINSTALL_MAN_DIRS= ${XINSTALL_DIRS}
-post-patch:
- @${SED} -e 's,@MAKESTRS@,${X11PREFIX}/X11R6/bin/makestrs,g' \
- ${WRKSRC}/config/cf/Library.tmpl \
- > ${WRKSRC}/config/cf/Library.tmpl.tmp && \
- ${MV} ${WRKSRC}/config/cf/Library.tmpl.tmp \
- ${WRKSRC}/config/cf/Library.tmpl
+SUBST_CLASSES= mkstrs
+SUBST_STAGE.mkstrs= post-patch
+SUBST_FILES.mkstrs= config/cf/Library.tmpl
+SUBST_SED.mkstrs= -e 's,@MAKESTRS@,${X11ROOT}/bin/makestrs,g'
+SUBST_MESSAGE.mkstrs= "Fixing path of makestrs."
-.include "../../fonts/fontconfig/buildlink2.mk"
-.include "../../graphics/freetype2/buildlink2.mk"
-.include "../../textproc/expat/buildlink2.mk"
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
.include "../../meta-pkgs/XFree86/Makefile.common"
-
+.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"