blob: 5f117cabe3601e1b35cec53b82274d38e054197a (
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
|
# $NetBSD: Makefile,v 1.19 2003/01/28 22:03:24 jlam Exp $
#
DISTNAME= libggi-2.0b2.1
PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.ggi-project.org/pub/ggi/ggi/current/
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
CONF_FILES+= ${EGDIR}/libggimisc.conf ${PKG_SYSCONFDIR}/libggimisc.conf
PLIST_SRC= ${WRKDIR}/PLIST
post-configure:
@if [ -f ${X11BASE}/include/X11/extensions/xf86dga.h ]; then \
${CP} ${PKGDIR}/PLIST ${PLIST_SRC}; \
else \
${GREP} -v lib.ggi.display.xf86dga ${PKGDIR}/PLIST \
> ${PLIST_SRC}; \
fi
.include "../../devel/ncurses/buildlink2.mk"
.include "../../graphics/libgii/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|