summaryrefslogtreecommitdiff
path: root/x11/XFree86-libs/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-02-02 14:08:27 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-02-02 14:08:27 +0000
commitc0e0fe75325226bfad4b1e4a51f02389e3906fb2 (patch)
tree3d08286c071dac4b1fba842de396d1652e6c9a78 /x11/XFree86-libs/Makefile
parent7023316259ed6147a0dbcf3833bd407b664e47e7 (diff)
downloadpkgsrc-c0e0fe75325226bfad4b1e4a51f02389e3906fb2.tar.gz
XFree86 meta-package can be now installed with or without xpkgwedge,
installation prefix is ${X11PREFIX}/X11R6. Bump PKGREVISION.
Diffstat (limited to 'x11/XFree86-libs/Makefile')
-rw-r--r--x11/XFree86-libs/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/x11/XFree86-libs/Makefile b/x11/XFree86-libs/Makefile
index 869c11de946..6efc137abbd 100644
--- a/x11/XFree86-libs/Makefile
+++ b/x11/XFree86-libs/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2004/01/31 15:06:24 xtraeme Exp $
+# $NetBSD: Makefile,v 1.3 2004/02/02 14:15:27 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 \
@@ -20,6 +21,15 @@ DEPENDS= imake>=4.3.0:../../x11/imake
.include "../../mk/bsd.prefs.mk"
+FILES_SUBST+= PKGBASE=${PKGBASE}
+FILES_SUBST+= X11ROOT=${X11ROOT}
+
+.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]*
@@ -37,7 +47,7 @@ XINSTALL_DIRS= include lib nls programs/Xserver/include \
XINSTALL_MAN_DIRS= ${XINSTALL_DIRS}
post-patch:
- @${SED} -e 's,@MAKESTRS@,${X11PREFIX}/bin/makestrs,g' \
+ @${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 \