summaryrefslogtreecommitdiff
path: root/x11/XFree86-clients/Makefile
blob: dff2d91abaa982bc0bf238b149d29a378849e68b (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
# $NetBSD: Makefile,v 1.2 2004/01/29 06:24:26 xtraeme Exp $

DISTNAME=		${DISTFILES}
PKGNAME=		XFree86-clients-${XF_VER}
CATEGORIES=		x11
MASTER_SITES=		${MASTER_SITE_XFREE}
DISTFILES=		X430src-1.tgz X430src-2.tgz \
			X430src-3.tgz X430src-4.tgz

MAINTAINER=		xfree86@blef.org
HOMEPAGE=		http://www.xfree86.org/
COMMENT=		XFree86 client programs and related files

USE_BUILDLINK2=		yes
DISTINFO_FILE=		${.CURDIR}/../../x11/XFree86-libs/distinfo
PATCHDIR=		${.CURDIR}/../../x11/XFree86-libs/patches

XBUILD_DIRS=		lib/xtrans lib/lbxutil programs fonts/util
XINSTALL_DIRS=		programs fonts/util
XINSTALL_MAN_DIRS=	programs

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "Linux"
.include "../../security/PAM/buildlink2.mk"
.endif

post-configure:
	@${MKDIR} ${WRKSRC}/exports/lib
	@for l in fntstubs Xss FS fontenc Xau Xxf86vm Xxf86dga xkbfile \
			Xxf86misc Xdmcp Xfontcache Xinerama Xfont; do \
		${LN} -sf ${PREFIX}/lib/lib$${l}.a ${WRKSRC}/exports/lib/ ; \
	done

.include "../../fonts/Xft2/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../meta-pkgs/XFree86/Makefile.common"
.include "../../x11/XFree86-libs/buildlink2.mk"

.include "../../mk/bsd.pkg.mk"