2006-03-04 22:28:51 +01:00
|
|
|
# $NetBSD: Makefile,v 1.40 2006/03/04 21:29:49 jlam Exp $
|
1999-07-24 04:31:57 +02:00
|
|
|
#
|
|
|
|
|
2005-04-18 17:54:18 +02:00
|
|
|
DISTNAME= libggi-2.1.1.src
|
2003-04-02 14:05:25 +02:00
|
|
|
PKGNAME= ${DISTNAME:S/.src//}
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
1999-07-24 04:31:57 +02:00
|
|
|
CATEGORIES= graphics
|
2005-03-25 03:47:31 +01:00
|
|
|
MASTER_SITES= ftp://ftp.ggi-project.org/pub/packages/ggi/ggi/v2.1/ \
|
|
|
|
http://www.ggi-project.org/ftp/ggi/v2.1/ \
|
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
|
|
|
|
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
|
|
|
|
2004-09-17 09:57:51 +02:00
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
|
|
.if !empty(OS_VERSION:M1.[56].*)
|
|
|
|
PLIST_SUBST+= COND_TERMINFO="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUBST+= COND_TERMINFO=""
|
|
|
|
.endif
|
|
|
|
.else
|
|
|
|
PLIST_SUBST+= COND_TERMINFO=""
|
|
|
|
.endif
|
|
|
|
|
2003-04-02 14:05:25 +02:00
|
|
|
.if exists(${X11BASE}/include/X11/extensions/xf86dga.h)
|
|
|
|
#
|
|
|
|
# it would be more logical to set PLIST_SRC to PLIST first and then add
|
|
|
|
# PLIST.dga to it, but @dirrm lib/ggi/display will fail while processing
|
|
|
|
# pkg/PLIST, because the directory still contains files (they are listed in
|
|
|
|
# PLIST.dga) and isn't empty, thus can't be removed
|
|
|
|
#
|
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST.dga
|
|
|
|
PLIST_SRC+= ${PKGDIR}/PLIST
|
|
|
|
.endif
|
2000-06-27 05:18:03 +02:00
|
|
|
|
2004-04-16 19:39:32 +02:00
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
|
|
.include "../../graphics/libgii/buildlink3.mk"
|
1999-07-24 04:31:57 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|