summaryrefslogtreecommitdiff
path: root/misc/root/Makefile
blob: f43178ce28e31ca06ecacc21b91f830595c3cbe9 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# $NetBSD: Makefile,v 1.33 2008/01/18 05:08:37 tnn Exp $

DISTNAME=		root_v5.10.00.source
PKGNAME=		root-5.10
PKGREVISION=		2
CATEGORIES=		misc
MASTER_SITES=		ftp://root.cern.ch/root/

MAINTAINER=		drochner@NetBSD.org
HOMEPAGE=		http://root.cern.ch/
COMMENT=		OO framework for data analysis and visualisation

WRKSRC=			${WRKDIR}/root
USE_TOOLS+=		gmake
USE_LANGUAGES=		c c++

BUILD_TARGET=

.if (${MACHINE_ARCH} == "arm")
BROKEN=	Compilation stops due to internal compiler error
.endif

INSTALLATION_DIRS=	bin

HAS_CONFIGURE=		yes
CONFIGURE_ARGS+=	${LOWER_OPSYS}
CONFIGURE_ARGS+=	--prefix=${PREFIX} --mandir=${PREFIX}/${PKGMANDIR}/man1
CONFIGURE_ENV+=		LOCALBASE=${LOCALBASE}
CONFIGURE_ARGS+=	--enable-soversion
CONFIGURE_ARGS+=	--disable-builtin-pcre
CONFIGURE_ARGS+=	--disable-builtin-freetype
# clarens needs xmlrpc-c, the pkgsrc version is incompatible
CONFIGURE_ARGS+=	--disable-clarens

# option, requires libxml2
CONFIGURE_ARGS+=	--disable-xml
#.include "../../textproc/libxml2/buildlink3.mk"

# might be optional
#CONFIGURE_ARGS+=	--disable-asimage
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/libungif/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"

post-extract:
	${CP} ${FILESDIR}/Makefile.netbsd ${WRKSRC}/config

.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../x11/libXi/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"