diff options
Diffstat (limited to 'x11/XFree86-libs/Makefile')
-rw-r--r-- | x11/XFree86-libs/Makefile | 14 |
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 \ |