blob: da02f428d89e520e6842e37f58eac5f004f67ca9 (
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
|
# $NetBSD: Makefile,v 1.25 2002/10/20 13:36:17 wiz Exp $
DISTNAME= gtkglarea-1.2.2
CATEGORIES= x11 graphics
MASTER_SITES= http://www.student.oulu.fi/~jlof/gtkglarea/download/
MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://www.student.oulu.fi/~jlof/gtkglarea/
COMMENT= OpenGL/Mesa widget for GTK+ GUI toolkit
USE_X11BASE= YES
USE_BUILDLINK2= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-gtk-prefix="${BUILDLINK_PREFIX.gtk}"
CONFIGURE_ARGS+= --with-GL-prefix="${BUILDLINK_PREFIX.Mesa}"
CONFIGURE_ARGS+= --with-lib-MesaGL
PLIST_SUBST+= LOCALBASE=${LOCALBASE}
post-install:
${INSTALL_MAN_DIR} ${PREFIX}/share/doc/gtkglarea
cd ${WRKSRC}/docs ; \
${INSTALL_MAN} HOWTO.txt ${PREFIX}/share/doc/gtkglarea ; \
${INSTALL_MAN} gdkgl.txt ${PREFIX}/share/doc/gtkglarea ; \
${INSTALL_MAN} gtkglarea.txt ${PREFIX}/share/doc/gtkglarea
${TEST} ${PREFIX} = ${LOCALBASE} || \
${LN} -fs ${PREFIX}/share/aclocal/gtkgl.m4 \
${LOCALBASE}/share/aclocal/gtkgl.m4
.include "../../graphics/Mesa/buildlink2.mk"
.include "../../x11/gtk/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|