# $NetBSD: Makefile,v 1.14 2006/03/04 21:30:10 jlam Exp $ DISTNAME= XFree86-${XF_VER}-src-1 PKGNAME= XFree86-man-${XF_VER} PKGREVISION= 1 CATEGORIES= misc x11 MASTER_SITES= ${MASTER_SITE_XFREE} EXTRACT_SUFX= .tgz MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.xfree86.org/ COMMENT= XFree86 Manuals DEPENDS+= XFree86-imake>=${XF_VER}:../../x11/XFree86-imake USE_LANGUAGES= # empty NO_XFREE86_TARGETS= yes WRKSRC= ${WRKDIR}/xc/doc/man INSTALL_TARGET= install.man post-extract: @${SED} \ -e "s|@PREFIX@|${X11ROOT}|g" \ -e "s|@MAKE@|${MAKE_PROGRAM}|g" \ -e "s|@IMAKE@|${IMAKE}|g" \ ${FILESDIR}/host.def > ${WRKSRC}/host.def pre-configure: .for F in general X11 GL GL/gl GL/glx GLU GLw Xv Xau Xt Xext Xext/dbe Xi @${LN} -sf ${WRKSRC}/host.def ${WRKSRC}/${F}/ .endfor do-configure: (cd ${WRKSRC} ; \ ${IMAKE} -DUseInstalled -I. -I${X11ROOT}/lib/X11/config \ -DTOPDIR=../.. -DCURDIR=.; \ ${MAKE} Makefiles ; \ ${MAKE} includes ; \ ${MAKE} depend) .include "../../meta-pkgs/XFree86/Makefile.common" .include "../../mk/bsd.pkg.mk"