a9f08159c4
curses.buildlink2.mk. This was wrong because we _really_ do want to express that we want _n_curses when we include the buildlink2.mk file. We should have a better way to say that the NetBSD curses doesn't quite work well enough. In fact, it's far better to depend on ncurses by default, and exceptionally note when it's okay to use NetBSD curses for specific packages. We will look into this again in the future.
50 lines
1.4 KiB
Makefile
50 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.24 2003/09/28 09:13:57 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= libggi-2.0.3.src
|
|
PKGNAME= ${DISTNAME:S/.src//}
|
|
PKGREVISION= 1
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ftp://ftp.ggi-project.org/pub/ggi/ggi/v2.0/ \
|
|
http://www.ggi-project.org/ftp/ggi/v2.0/ \
|
|
${MASTER_SITE_SOURCEFORGE:=ggi/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= hubertf@NetBSD.org
|
|
HOMEPAGE= http://www.ggi-project.org/
|
|
COMMENT= General Graphics Interface library is a flexible drawing library
|
|
|
|
USE_BUILDLINK2= yes
|
|
USE_PKGINSTALL= yes
|
|
USE_X11= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --disable-debug
|
|
CONFIGURE_ARGS+= --with-x
|
|
CONFIGURE_ARGS+= --sysconfdir="${PKG_SYSCONFDIR}"
|
|
|
|
PKG_SYSCONFSUBDIR= ggi
|
|
EGDIR= ${PREFIX}/share/examples/ggi
|
|
CONF_FILES= ${EGDIR}/libggi.conf ${PKG_SYSCONFDIR}/libggi.conf
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.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
|
|
|
|
.include "../../devel/ncurses/buildlink2.mk"
|
|
.include "../../graphics/libgii/buildlink2.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|