blob: b5e20cc01ea4206a03d59ce4ae1fa1b6177b8dd8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.7 2004/07/31 02:28:15 xtraeme Exp $
DISTNAME= XFree86-${XF_VER}-src-1
PKGNAME= XFree86-man-${XF_VER}
CATEGORIES= misc x11
MASTER_SITES= ${MASTER_SITE_XFREE}
EXTRACT_SUFX= .tgz
MAINTAINER= xtraeme@NetBSD.org
HOMEPAGE= http://www.xfree86.org/
COMMENT= XFree86 Manuals
DEPENDS= imake>=${XF_VER}:../../x11/imake
USE_LANGUAGES= # empty
NO_BUILDLINK= # defined
NO_XFREE86_TARGETS= # defined
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
.undef F
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"
|