blob: 17a8b449a224567ab32f69301df4eff987d51b60 (
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
58
59
60
|
# $NetBSD: Makefile,v 1.44 2008/04/12 22:43:01 jlam Exp $
#
DISTNAME= libggi-2.1.1.src
PKGNAME= ${DISTNAME:S/.src//}
PKGREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://www.ggi-project.org/ftp/ggi/v2.1/ \
${MASTER_SITE_SOURCEFORGE:=ggi/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.ggi-project.org/
COMMENT= General Graphics Interface library is a flexible drawing library
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-debug
CONFIGURE_ARGS+= --with-x
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
PKG_SYSCONFSUBDIR= ggi
EGDIR= ${PREFIX}/share/examples/ggi
CONF_FILES= ${EGDIR}/libggi.conf ${PKG_SYSCONFDIR}/libggi.conf
.include "../../mk/bsd.prefs.mk"
PLIST_VARS+= libvgl terminfo xf86dga
.if ${OPSYS} == "NetBSD"
. if empty(OS_VERSION:M1.[56].*)
PLIST.terminfo= yes
. endif
.else
PLIST.terminfo= yes
.endif
.if ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD"
PLIST.libvgl= yes
.endif
.if ${X11_TYPE} == "modular"
.include "../../x11/libXxf86dga/buildlink3.mk"
.include "../../x11/libXxf86vm/buildlink3.mk"
PLIST_SUBST+= COND_XF86DGA=""
.elif exists(${X11BASE}/include/X11/extensions/xf86dga.h)
PLIST.xf86dga= yes
.endif
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../devel/ncurses/buildlink3.mk"
.include "../../graphics/libgii/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|