summaryrefslogtreecommitdiff
path: root/misc/XFree86-man/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-01-24 09:06:57 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-01-24 09:06:57 +0000
commit2149b2098e2af1630f0b7b9be12cbc1da5d720b8 (patch)
tree6c0275ab471255cefff93812224131b04aeb6a77 /misc/XFree86-man/Makefile
parent576c8c13586994ee0332d5304c4828f3193e5943 (diff)
downloadpkgsrc-2149b2098e2af1630f0b7b9be12cbc1da5d720b8.tar.gz
Initial import of XFree86-man-4.3.0 from pkgsrc-wip.
This package contains additional XFree86 online manual pages. This includes developer documentation (in man format) for Xlib, OpenGL drawing, X11 Nonrectangular Window Shape Extension, Double Buffer Extension (DBE), X Extended Visual Information, Resource Manager, X Toolkit Intrinsics, video processing, and other X-related programming. XFree86-man also provides: X - a portable, network-transparent window system X.Org, XProjectTeam - X.Org Group information XConsortium - X Consortium information XStandards - X Consortium Standards and X Project Team Specifications Xsecurity - X display access control
Diffstat (limited to 'misc/XFree86-man/Makefile')
-rw-r--r--misc/XFree86-man/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/misc/XFree86-man/Makefile b/misc/XFree86-man/Makefile
new file mode 100644
index 00000000000..533440f9cca
--- /dev/null
+++ b/misc/XFree86-man/Makefile
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/24 09:07:03 xtraeme Exp $
+
+DISTNAME= X430src-1
+PKGNAME= XFree86-man-${XF_VER}
+WRKSRC= ${WRKDIR}/xc/doc/man
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_XFREE}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= xfree86@blef.org
+HOMEPAGE= http://www.xfree86.org/
+COMMENT= XFree86 Manuals
+
+BUILD_DEPENDS= imake>=4.3.0:../../x11/imake
+
+USE_BUILDLINK2= yes
+
+NO_XFREE86_TARGETS= # defined
+INSTALL_TARGET= install.man
+
+post-extract:
+ @${SED} \
+ -e "s|@PREFIX@|${X11PREFIX}|g" \
+ -e "s|@MAKE@|${MAKE_PROGRAM}|g" \
+ -e "s|@IMAKE@|${IMAKE}|g" \
+ ${FILESDIR}/host.def > ${WRKSRC}/host.def
+
+# XXX please share suggestion on how to do this correctly
+pre-configure:
+.for F in general X11 GL/gl GL/glx GLU GLw Xv Xau Xt Xext Xext/dbe Xi
+ @${LN} -sf ${WRKSRC}/host.def ${WRKSRC}/${F}/
+.endfor
+.undef F
+
+do-configure:
+ (cd ${WRKSRC} ; \
+ ${IMAKE} -DUseInstalled -I. -I${PREFIX}/lib/X11/config \
+ -DTOPDIR=../.. -DCURDIR=.; \
+ ${MAKE} Makefiles ; \
+ ${MAKE} includes ; \
+ ${MAKE} depend)
+
+.include "../../meta-pkgs/XFree86/Makefile.common"
+
+.include "../../mk/bsd.pkg.mk"