2012-10-23 12:24:02 +02:00
|
|
|
# $NetBSD: Makefile,v 1.53 2012/10/23 10:24:06 wiz Exp $
|
1999-07-24 04:31:57 +02:00
|
|
|
#
|
|
|
|
|
2010-01-30 16:19:26 +01:00
|
|
|
DISTNAME= libggi-2.2.2.src
|
2003-04-02 14:05:25 +02:00
|
|
|
PKGNAME= ${DISTNAME:S/.src//}
|
2012-01-23 21:19:00 +01:00
|
|
|
PKGREVISION= 1
|
1999-07-24 04:31:57 +02:00
|
|
|
CATEGORIES= graphics
|
2010-01-30 16:22:13 +01:00
|
|
|
MASTER_SITES= http://www.ggi-project.org/ftp/ggi/v2.2/ \
|
2003-04-02 14:05:25 +02:00
|
|
|
${MASTER_SITE_SOURCEFORGE:=ggi/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
1999-07-24 04:31:57 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
1999-07-24 04:31:57 +02:00
|
|
|
HOMEPAGE= http://www.ggi-project.org/
|
2001-02-16 16:22:13 +01:00
|
|
|
COMMENT= General Graphics Interface library is a flexible drawing library
|
1999-07-24 04:31:57 +02:00
|
|
|
|
2010-01-30 15:58:33 +01:00
|
|
|
MAKE_JOBS_SAFE= no
|
2008-07-14 14:55:56 +02:00
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
2003-01-28 23:03:00 +01:00
|
|
|
USE_LIBTOOL= yes
|
2002-11-25 21:48:42 +01:00
|
|
|
|
2003-01-28 23:03:00 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2002-11-25 21:48:42 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-debug
|
|
|
|
CONFIGURE_ARGS+= --with-x
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
2003-01-03 00:54:55 +01:00
|
|
|
|
|
|
|
PKG_SYSCONFSUBDIR= ggi
|
|
|
|
EGDIR= ${PREFIX}/share/examples/ggi
|
|
|
|
CONF_FILES= ${EGDIR}/libggi.conf ${PKG_SYSCONFDIR}/libggi.conf
|
1999-07-24 04:31:57 +02:00
|
|
|
|
2003-04-02 14:05:25 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2000-12-27 05:29:10 +01:00
|
|
|
|
2012-01-23 21:19:00 +01:00
|
|
|
.if ${OPSYS} == "Linux"
|
|
|
|
CONF_FILES+= ${EGDIR}/fbdev.conf ${PKG_SYSCONFDIR}/ggi/ggi/targets/fbdev.conf
|
|
|
|
.endif
|
|
|
|
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST_VARS+= libvgl terminfo xf86dga
|
|
|
|
|
2004-09-17 09:57:51 +02:00
|
|
|
.if ${OPSYS} == "NetBSD"
|
2008-04-13 00:42:57 +02:00
|
|
|
. if empty(OS_VERSION:M1.[56].*)
|
|
|
|
PLIST.terminfo= yes
|
|
|
|
. endif
|
2004-09-17 09:57:51 +02:00
|
|
|
.else
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST.terminfo= yes
|
2004-09-17 09:57:51 +02:00
|
|
|
.endif
|
|
|
|
|
2006-04-20 18:28:54 +02:00
|
|
|
.if ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD"
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST.libvgl= yes
|
2006-04-20 18:28:54 +02:00
|
|
|
.endif
|
|
|
|
|
2011-07-05 04:14:12 +02:00
|
|
|
.if ${X11_TYPE} == "modular" || \
|
|
|
|
exists(${X11BASE}/include/X11/extensions/xf86dga.h)
|
2007-02-04 16:26:34 +01:00
|
|
|
.include "../../x11/libXxf86dga/buildlink3.mk"
|
|
|
|
.include "../../x11/libXxf86vm/buildlink3.mk"
|
2011-07-05 04:14:12 +02:00
|
|
|
.include "../../x11/xf86dgaproto/buildlink3.mk"
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST.xf86dga= yes
|
2003-04-02 14:05:25 +02:00
|
|
|
.endif
|
2000-06-27 05:18:03 +02:00
|
|
|
|
2007-02-04 16:26:34 +01:00
|
|
|
BUILDLINK_DEPMETHOD.libXt?= build
|
|
|
|
|
2004-04-16 19:39:32 +02:00
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
|
|
.include "../../graphics/libgii/buildlink3.mk"
|
2007-02-04 16:26:34 +01:00
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
1999-07-24 04:31:57 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|